how to print hidden and visible content on a panel when scroll using vb.net
问题 please i have a scrollable panel of which some of the content are hidden and other are visible on the form, my worry is how to print all the content on the panel including the hidden ones. How possible could i be help Private Sub PrintDocument1_PrintPage(sender As Object, e As Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Panel1.AutoSize = True Dim b As New Bitmap(Panel1.DisplayRectangle.Width, Panel1.DisplayRectangle.Height) Panel1.DrawToBitmap(b, Panel1.ClientRectangle) e