Indicates whether to use the page margins when printing.
public bool UseMargins { get; set; }
Public Property UseMargins() As Boolean
Get
Set
public:
property bool UseMargins
{
bool get()
void set(bool value)
}
true to use the page margins when printing, otherwise; false. Default value is true.
When the value of the UseMargins property is set to true, the maximum page area used for printing will be the System.Drawing.Printing.PrintPageEventArgs.MarginBounds value.
When the value of the UseMargins property is set to false, the maximum page area used for printing will be the System.Drawing.Printing.PrintPageEventArgs.PageBounds value.
For more information on the bounds and how to change them, refer to System.Drawing.Printing.PrintDocument, System.Drawing.Printing.PrinterSettings and System.Drawing.Printing.PrintPageEventArgs in MSDN.
Important: the UseMargins property is only used to calculate the printing area when the value of both PageRectangle is left to the empty default value. If you set the PageRectangle value to anything else, it is assumed that you are responsible for calculating the print area and UseMargins will be ignored.
Products |
Support |
Feedback: UseMargins Property (RasterImagePrinter) - Leadtools.Controls |
Introduction |
Help Version 19.0.2017.6.20
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.