Gets or sets the units to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values.
public Leadtools.Codecs.CodecsRasterizeDocumentUnit Unit {get; set;} Public Property Unit As Leadtools.Codecs.CodecsRasterizeDocumentUnit public Leadtools.Codecs.CodecsRasterizeDocumentUnit Unit {get; set;} @property (nonatomic, assign) LTCodecsRasterizeDocumentUnit unit public CodecsRasterizeDocumentUnit getUnit()public void setUnit(CodecsRasterizeDocumentUnit value)
get_Unit();set_Unit(value);Object.defineProperty('Unit');
public:property Leadtools.Codecs.CodecsRasterizeDocumentUnit Unit {Leadtools.Codecs.CodecsRasterizeDocumentUnit get();void set ( Leadtools.Codecs.CodecsRasterizeDocumentUnit );}
A CodecsRasterizeDocumentUnit enumeration member that specify the unit to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values. Default value is CodecsRasterizeDocumentUnit.Inch
When using a pixel unit (CodecsRasterizeDocumentUnit.Pixel), the page width and height are multiplied by the current resolution(XResolution and YResolution) to determine the final physical page size).
Possible values are:
| Value | Description |
|---|---|
| CodecsRasterizeDocumentUnit.Pixel |
The page width, height or margins are in pixels |
| CodecsRasterizeDocumentUnit.Inch |
The page width, height or margins are in inches |
| CodecsRasterizeDocumentUnit.Millimeter |
The page width, height or margins are in millimeters |
For an example, refer to CodecsRasterizeDocumentLoadOptions.
CodecsRasterizeDocumentLoadOptions Class
CodecsRasterizeDocumentLoadOptions Members
|
Products |
Support |
Feedback: Unit Property (CodecsRasterizeDocumentLoadOptions) - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|

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.