Hi
I get the following exception when I try to RotateFlip(RotateFlipType.Rotate180FlipX) my System.Drawing.Imaging.Metafile
this is the codeCode:An unhandled exception of type 'System.NotImplementedException' occurred in system.drawing.dll Additional information: Not implemented.
If it's not implemented... why the #&¤% is it in the framework?!?Code:Dim pic As New System.Drawing.Bitmap(500, 500, System.Drawing.Imaging.PixelFormat.Format32bppArgb) Dim gr As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(pic) Dim hDC As IntPtr = gr.GetHdc() Dim m As System.Drawing.Imaging.Metafile = New System.Drawing.Imaging.Metafile(strPicName & "." & strPicFormat, hDC) gr.DrawLine(Pens.Blue, 10, 10, 100, 100) m.RotateFlip(RotateFlipType.Rotate180FlipX)
it works fine to rotate the System.Drawing.Bitmap?
does anyone have a solution to this?




Reply With Quote