Link to home
Start Free TrialLog in
Avatar of vasiliou
vasiliou

asked on

Offscreen buffers

How can I create an offscreen buffer in which I will be able to draw text, lines, circles etc? How will this buffer be of type 'metafile'?
ASKER CERTIFIED SOLUTION
Avatar of Mirkwood
Mirkwood

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vasiliou
vasiliou

ASKER

Is this the only way? Can't I do something like

Dim pic as StdPicture
pic.type=vbCFMetafile
pic.line (0,0)-(100,100)

Of course I can't do this! I've tried it! What I want to know with this comment is can I do something LIKE this and not have a form object? StdPicture cannot be instantiated?
The form has a picture object so most likely the code below will work but I haven't tried it.

form.picture.type=vbCFMetafile
form.picture.line (0,0)-(100,100)