Reputation: 620
I created an image with bitmap:
Graphics GFX = CreateGraphics();
Bitmap bitmap = new Bitmap(@"C:\C#\slideplace.png");
GFX.DrawImage(bitmap, 319, 69, 149, 20);
I have two questions:
GFX
location because I want to make it movable (like picturebox.location). Upvotes: 0
Views: 171
Reputation: 33738
Graphics
and Bitmap
have no UI component so they have no Location
property. You need to use a PictureBox
or some other UI control to render your Bitmap
Upvotes: 2