Gets the unit of the logical width and height of this document.
public 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.
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