Eduard
Eduard

Reputation: 620

C# Bitmap Image

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:

Upvotes: 0

Views: 171

Answers (1)

Sam Axe
Sam Axe

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

Related Questions