I am writing an app which will draw into a picturebox or the printer. The location to draw on is passed as an object.
How can I tell wether the printer was passed as the object?
Thanks
Printable View
I am writing an app which will draw into a picturebox or the printer. The location to draw on is passed as an object.
How can I tell wether the printer was passed as the object?
Thanks
VB Code:
If TypeOf myobject Is PictureBox Then
Substitute Printer to check for printer
That was just the job, thanks a lot.