Print Scrollable windows Form in vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coolminded
    New Member
    • Mar 2007
    • 137

    Print Scrollable windows Form in vb.net

    I have lots of labels in my form and its AutoScroll Property is set True. Now i'm trying to print this form but only the visible part of the form is printed not the whole form. I used Visual Basic PowerPacks and set the PrintAction property to PrintToPrinter.

    Code:
    PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)
    Code:
    PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.FullWindow)
    but both of above option didn't help. Any other option to print the whole form.
Working...