|
-
October 10th, 2004, 10:05 PM
#1
Printing controls in a picturebox
In the following example, how does one setup the printer for printing a shape, Line and picturebox object.
For each ctrl In myScreen.controls
If ctrl.container.name = "myPictureBox" then
If TypeOf ctrl is TextBox then
Printer.currentX = ctrl.left
Printer.currentY = ctrl.top
Printer.Print ctrl
ElseIf TypeOf ctrl is Shape then
???
ElseIf TypeOf ctrl is Line then
???
ElseIf TypeOf ctrl is Picture then
??
End If
End If
Printer.EndDoc
Next
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
|