Make picturebox image mirror vertical
-
Hi all, i make one application in which i have one picturebox and i want to make picturebox mirror vertically. so image is displayed mirror vertically. so is there any methode or property available for this situation ? Thanks in advance ..
Rana Krishnraj
-
Hi all, i make one application in which i have one picturebox and i want to make picturebox mirror vertically. so image is displayed mirror vertically. so is there any methode or property available for this situation ? Thanks in advance ..
Rana Krishnraj
Before you load the PictureBox with the image...
theImage.RotateFlip(RotateFlipType.RotateNoneFlipY);
Hope this helps.Matthew Butler
-
Before you load the PictureBox with the image...
theImage.RotateFlip(RotateFlipType.RotateNoneFlipY);
Hope this helps.Matthew Butler
-
Before you load the PictureBox with the image...
theImage.RotateFlip(RotateFlipType.RotateNoneFlipY);
Hope this helps.Matthew Butler
hi it dosent work for an image that captured by BitBlt?!!! what should i do if i want to mirror this image(a BitBlt image)?
و این منم زنی تنها در آستانه فصلی سرد...
-
hi it dosent work for an image that captured by BitBlt?!!! what should i do if i want to mirror this image(a BitBlt image)?
و این منم زنی تنها در آستانه فصلی سرد...
i fix that!
System.IntPtr srcDC = GetDC(f.Handle); Bitmap bmp = new Bitmap(****50****, f.Height + 30); Graphics g = Graphics.FromImage(bmp); System.IntPtr bmDC = g.GetHdc(); BitBlt(bmDC, 0, 0, **50**, bmp.Height, srcDC, r, -30, 0x00CC0020 /*SRCCOPY*/); r += 10; ReleaseDC(f.Handle, srcDC); g.ReleaseHdc(bmDC); g.Dispose(); Image img; img = bmp; img.RotateFlip(RotateFlipType.RotateNoneFlipX); f3.pictureBox1.Image = img;
i should set bitmaps width to 50!(because my pixtureboxs width and actually my last images width is 50); tnx.و این منم زنی تنها در آستانه فصلی سرد...