hello i have three bmp files one is static while other two are dynamically changing by a graphic object i have two threads for this purpose to update that two bmp files the problem is i want to display the static bmp as it is every time and the dynamic bmps updated every time may ma XOR a good solution but i don't know how to do this eff...
What do i need to change icons at runtime every 5 seconds in picture control to give the user a notification that the work is in progress?
...
I have a datagridview that contains some text and a image. The image is user added so each line will probably have a different one. Im looking for a way to take the image that is placed in the datagridview and drop it back into the picturebox. I have no clue where to do with this. There is a dataset made but I am totally lost where to go...
I'm have a picture box control and 2 Command Buttons. I have an image displayed inside the picture box.
Is it possible to zoom the image when the Zoom-in and Zoom out buttons are clicked?
Or I can even put a scroll bar. Is it possible to zoom the image according to the scroll bar movements?
I'm using VB 6.
...
hi
i want to save picturebox image in a share folder on network
i use this code
pictureBox1.Image.Save(@"192.168.1.39\xxxxxx", System.Drawing.Imaging.ImageFormat.Jpeg);
but it rauses error
please help me!
xxxxxx is name of shahre folder
...
I have a PictureBox on a form.
In Load event of the form I create graphics as follows:
imageGraphics = Graphics.FromImage(PictureBox1.Image)
Then, in PictureBox_MouseMove event I draw ellipse:
imageGraphics.FillEllipse(New SolidBrush(brushColor), e.X, e.Y, brushWidth, brushWidth)
No matter what I try, it always draws on incorrect ...
I have made a card game built of pictureboxes. The empty places a card can be put in is an empty picture box with a transparent background and a 3d border. And then I have a current card which is also a picturebox which is moved by a MouseMove event.
As soon as I drag a card over the transparent PictureBoxes there is a card left all ov...
I have a potential of up to 4 images per database row/entry and I am querying on Gridview_currentRowChanged. The issue was how to clear the picturebox(s) before loading the next row.
private void radGridView1_CurrentRowChanged(object sender, Telerik.WinControls.UI.CurrentRowChangedEventArgs e)
{
panelImages.Contro...
Hello, i was wondering how could i add .customString to PictureBox object.
Something like:
PictureBox box = new PictureBox();
box.CustomString = "string here";
And then later on i would be access it.
MessageBox.Show(boxname.CustomString);
Thank you.
...
In c# I am using a PictureBox on a win form.
I am trying to recreate MSPaint to learn about the Graphics Object. It all works fine and dandy except that when another window is on on top of the PictureBox, or the entire form is resized, what is drawn under the other window in there is removed.
Here is a scaled down version of the code...
I am trying to use:
PictureBox1.Length
but I get the following error:
Error 3 'System.Windows.Forms.PictureBox' does not contain a definition for 'Length' and no extension method 'Length' accepting a first argument of type 'System.Windows.Forms.PictureBox' could be found (are you missing a using directive or an assembly reference?...
Hi,
How can I transfer the values of my graphics to a bitmap so I can save it as jpg or bmp file.
here's my code:
private void pictureBox1_Paint_1(object sender, PaintEventArgs e)
{
using(var p = new Pen(Color.Blue, 4)){
for (int i = 0; i < _listPS.Count; i++)
{
e.Graphics.DrawLine(_pen, _l...
Hi,
I am using an picturebox to show the wait gif animation when user presses 'log in' button in my C# form.
I added the gif image to the picturebox and set visibility to false. When user clicks on the login button i set the visibility of the picturebox to true. the problem is that gif animation does not appear if set the visible proper...
I am trying to load images quickly into a picturebox and draw on them. I have a .13 second delay between the time I assign a bitmap to the picture box and when it shows up. And whenever I do a picturebox.refresh(), it is the same delay of .13 - .15 seconds before the paint method is called. Is there any way to get rid of this delay?
I a...
Hello,
I have loaded a collection of images into a folder(icons), and I am wondering how I can load all of these into a listview during the startup of the program. I am trying to get them to load into the view, showing the picture with a caption or description under the image.
After this, I plan(somehow) to select one and click within...
Hi, can anyone help me how to apply transparency on picturebox on Winforms? I have a panel as a main container having a background picture, and I have a picturebox which overlapped on it. So all I need is to have a transparency on picturebox.
...
can someone show me an example script of how I would upload picturebox1's Image to an FTP connection?
...
I'm trying to display dicom image using openDicom.net. What should i correct here?
openDicom.Image.PixelData obraz = new openDicom.Image.PixelData(file.DataSet);
// System.Drawing.Bitmap obrazek = (Bitmap)Bitmap.FromFile(element);
pictureBox1.Image = obraz;
pictureBox1.Show();
...
How can I convert single channel IplImage (grayscale), depth=8, into a Bitmap?
The following code runs, but displays the image in 256 color, not grayscale. (Color very different from the original)
btmap = gcnew Bitmap(
cvImg->width ,
cvImg->height ,
cvImg->widthStep ,
System::Drawing::Imaging::PixelFormat::Format8bppIndexed,
(Sy...
I am using this PictureBox on a form, to this picture box I use the AForge Code. I pass the REFERENCE of the pictureBox into a webcam class I create that initializes the webcam and tells it where to draw its frames to....so it happily draws it frames... no problemo.
But then certain times (when I want to do stuff with said image, if a ...