|
-
Nov 12th, 2005, 09:04 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] .NET (GDI+) Can you use GDI+ to draw to memory?
Hi,
I am wondering if there is some way to draw to an object like a bitmap or image, without displaying it on screen. I want to be able to use some GDI+ Stuff, so if possible, I'd like to avoid the APIs if possible.
Basically, my requirements in short are:
Be able to use Graphics.Drawstring on it.
Be able to convert the final product to a Bitmap Object.
Not have it display on screen.
Bill
-
Nov 12th, 2005, 09:26 PM
#2
Hyperactive Member
Re: .NET (GDI+) Can you use GDI+ to draw to memory?
dim bm as new bitmap(100,100) ' width, height
dim g as graphics = graphics.fromimage(bm)
g.drawstring(...)
-
Nov 12th, 2005, 09:41 PM
#3
Thread Starter
Frenzied Member
Re: .NET (GDI+) Can you use GDI+ to draw to memory?
Thanks, I can't believe I missed that.
Bill
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|