Gets the unit of the logical width and height of this document.
public CodecsRasterizeDocumentUnit Unit { get; }
Public ReadOnly Property Unit As CodecsRasterizeDocumentUnit
@property (nonatomic, assign, readonly) LTCodecsRasterizeDocumentUnit unit
public CodecsRasterizeDocumentUnit getUnit()
public:
property CodecsRasterizeDocumentUnit Unit {
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 |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document