-
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 think that isn't possible. (I mean, it's only possible with an odd syntax)