Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16037

VS 2019 Visual Basic Net, Printing Form

$
0
0
I am creating a report by dynamically adding populated datagridview's of various lengths to a Form.

I would like to print the output and fit it to 8-1/2 X 11 pages

Among the challenges is detecting when a datagridview is going to be split between two pages and either deciding to start a new page at the beginning of the datagridview or letting it run on.

Is there a way that I should be placing and sizing the datagridview's on my form to accommodate fitting to a page width?

Then of course I need to know how to use the;
printDocument1 As New PrintDocument
appropriately

Thanks in advance
Richard

Viewing all articles
Browse latest Browse all 16037

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>