Question Printing forms

kfirba

Well-known member
Joined
Dec 29, 2012
Messages
77
Programming Experience
1-3
Hello!

I have scroll-able form which I would like to print.
I have already tried using this code:

    Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click
        Me.PrintForm.PrintAction = Printing.PrintAction.PrintToPreview
        Me.PrintForm.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)


    End Sub


And the result isn't accurate.

To demonstrate my issue, here are some photos:

This is the result I want (Of course I want it to ALSO print all of the scroll-able content)



and this is what I get from my code:



As you can see, the Result is pretty much just 50% width, and it's definitely doesn't show all of the scroll-able content.

Please help me fix this issue!

Thanks in advance!
 
Back
Top