Gets or sets a value that indicate whether the destination print rectangle is in relative units.
public bool IsDestinationRelative {get; set;}
Public Property IsDestinationRelative As Boolean
true if the values in Destination are in relative units, otherwise; false. Default value is false.
Destination can be in relative or absolute units depending on the value of the IsDestinationRelative property:
When the value of IsDestinationRelative is true (the default), then the value of Destination contains relative values for the printable area going from 0 to 1 both horizontally and vertically. For example, a value of (0, 0, 1, 1) means the whole printable area. A value of (0.25, 0.5, 0.3, 0.6) means the printable area starts from 1/4 of the page and extends 1/3 of the page horizontally and starts from 1/2 of the page and extends 1/6 of the page vertically.
When the value of IsDestinationRelative is false, then the value of Destination contains physical units in page coordinates. Similar to PrintDialog.PrintableAreaWidth and PrintDialog.PrintableAreaHeight in WPF or PrintPageEventArgs.PrintableArea in Silverlight 4 or later.
For an example, refer to PrinterHelper.
Products |
Support |
Feedback: IsDestinationRelative Property - Leadtools.Windows.Controls |
Introduction |
Help Version 19.0.2017.3.22
|
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.