Hi,

I have a form in VB which is scrollable (using autoscroll) and when I currently click 'print', it only prints what I can see; it takes a screenshot of the viewable information. Here's my code:

Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click
        Dim settings As New System.Drawing.Printing.PrinterSettings

        sPrintForm.PrinterSettings = settings
        settings.DefaultPageSettings.Landscape = True

        sPrintForm.PrintAction = Printing.PrintAction.PrintToPreview

        sPrintForm.Print()
    End Sub

Could somebody please show me how to print the whole of the page, including the areas that can't be seen?

I've already tried using

PrintForm.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)

and that didn't work.

Thanks in advance (See attached file for image)

Attachments Screenshot.jpg 29.53 KB

I'm sorry, I'm just really in need of a solution to the problem and I thought that since I posted yesterday, nobody was going to read it anymore :(.

Is there a way of deleting threads?

i dont know what is the method to delete a thread , but you can mark this thread is solved , and just use first thread to get ans .

Regards

This question has already been answered. Start a new discussion instead.