Gets the unit of the logical width and height of this document.
public Leadtools.Codecs.CodecsRasterizeDocumentUnit Unit {get;}
Public ReadOnly Property Unit As Leadtools.Codecs.CodecsRasterizeDocumentUnit
public Leadtools.Codecs.CodecsRasterizeDocumentUnit Unit {get;}
@property (nonatomic, assign, readonly) LTCodecsRasterizeDocumentUnit unit
public CodecsRasterizeDocumentUnit getUnit()
get_Unit();
public:
property Leadtools.Codecs.CodecsRasterizeDocumentUnit Unit {
Leadtools.Codecs.CodecsRasterizeDocumentUnit get();
}
A CodecsRasterizeDocumentUnit enumeration member that specifies the unit for PageWidth and PageHeight.
The logical width and height of the document is the original size before rasterization. LEADTOOLS usually returns the logical size in inches.
The PageWidth, PageHeight and Unit properties are only valid if the value of IsDocumentFile is true.
Possible values are:
Value | Description |
---|---|
CodecsRasterizeDocumentUnit.Pixel |
The page width and height are in pixels |
CodecsRasterizeDocumentUnit.Inch |
The page width and height are in inches |
CodecsRasterizeDocumentUnit.Millimeter |
The page width and height are in millimeters |
For an example, refer to CodecsDocumentImageInfo.
Products |
Support |
Feedback: Unit Property (CodecsDocumentImageInfo) - 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.