Adjust Page Margins

  • Thread starter Thread starter Wayne Wengert
  • Start date Start date
W

Wayne Wengert

I am using VSNET 2003/VB and I want to allow the user to specify a page
margin adjustment when printing labels. How do I specify that adjustment in
VB.NET code?

Wayne
 
Wayne Wengert said:
I am using VSNET 2003/VB and I want to allow the user to specify a page
margin adjustment when printing labels. How do I specify that adjustment
in
VB.NET code?

'PrintDocument.PrinterSettings.DefaultPageSettings.Margins'.
 
Wayne,
If you just want to offset the printing a bit to align the labels
correctly I'd use Graphics.TranslateTransform and allow the user to specify
the offset in whatever drawing units you are using.

Ron Allen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top