Bitmap at a specific location

ceaser

Active Member
Licensed User
Hi all

I wonder if somebody can help me.:sign0085:

I have coordinates plotted on a screen and i would like to plot a small bitmap of a total station at the position of my setup point (X & Y).

Thanks
Michael
 

sitajony

Active Member
Licensed User
Hi, I'm not really sure that it's a usefull answer but did you try the DrawImage() function?
Form1.DrawImage(Image File, X, Y, X2, Y2)...
 

klaus

Expert
Licensed User
Longtime User
You could use either

Form.DrawImage (Image | File , X1,Y1 [,X2, Y2])
If you write only X1, Y1 then the image will be placed with its original size starting from this point (the image's left-top corner will be on this point).
If you write X2,Y2 as well then the image will be stretched to fit the rectangle


Form.FDrawImage (Image | File , X1,Y1 [,X2, Y2])
Draws the image onto the form's forelayer.


Drawer.DrawImage (image As Image, rectSrc As Rectangle, rectDest As Rectangle, transparent As Boolean) : Draws part of image on the DrawerEx image. rectSrc is the part taken from the source image and rectDest is the area on the target image which the image will be drawn to. If transparent is true then the color set with Drawer.SetTransparentColor1 will be transparent.


Best regards.
 

ceaser

Active Member
Licensed User
Thanks guys. It's old age that came in there for a minute:sign0148:

Regards
Michael
 
Top