Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Form got cutoff when using PrintForm

$
0
0

I am trying to print current active MDI form using PrintForm from VB PowerPacks. Sample code:

mdiPrintForm.PrintAction = System.Drawing.Printing.PrintAction.PrintToPreview

mdiPrintForm.Print(Me.ActiveMdiChild, PrintForm.PrintOption.FullWindow)

Problem is that my Form is too wide to fit in the page.  It got cut off.  I don't see anything in PrintForm that I can use to shrink the form to fit the page.  Any suggestions.  Much appreciated.

 


Viewing all articles
Browse latest Browse all 8156

Trending Articles



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