Hi,
I am dooing an engineering application and I need to draw some objects. It MUST have an origin in a bottom left corner, not in upper left (the deault setting of GDI).
Currently, I have to recalculate everything and it generates a lot of unnessessary code. Thus, I'd like to use SetMapMode+Himetric, but I can't find a single example in VB.NET how to use it.
I have this graphical structure:
How to use the HiMetric? And where - on the Picture1?
Thanks in advance for your suggestions.
I am dooing an engineering application and I need to draw some objects. It MUST have an origin in a bottom left corner, not in upper left (the deault setting of GDI).
Currently, I have to recalculate everything and it generates a lot of unnessessary code. Thus, I'd like to use SetMapMode+Himetric, but I can't find a single example in VB.NET how to use it.
I have this graphical structure:
Code:
Bitmap1 = New Bitmap(Me.PictureBox1.Width, Me.PictureBox1.Height)
picture1 = Graphics.FromImage(Bitmap1)
picture1.drawline(.....)
picture1.drawrectangle(.....)
picture1.drawarc(.....)
Me.PictureBox1.Image = Bitmap1
Thanks in advance for your suggestions.