|
-
Aug 24th, 2000, 04:23 PM
#1
Thread Starter
New Member
I want to write a function but I need help defining the function arguments.
I know that sounds easy but read on!
In particular, I want the arguments to be like the graphics functions arguments. For instance:
picturebox1.line (x1,y1)-(x2,y2),colorref&
How the heck do you program (x1,y1)-(x2,y2) in a function declaration.
Here's what I'm doing...
I want to create a WMF object that acts like a picturebox or printer object. That way, I can declare a generic object and use latebinding to display a graphic, or print a graphic, or SAVE a graphic in WMF format.
So I need some way to do the following:
dim wmfob as new wmfobject
wmfob.line (x1,y1)-(x2,y2)
I can create most of the object but the line, circle and move methods use this odd syntax.
TIA.
"I have a plan so cunning you could pin a tail on it and call it a weasel!" - Edmund Blackadder
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
|