Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > CodecsDocumentImageInfo Class : Unit Property |
public CodecsRasterizeDocumentUnit Unit {get;}
'Declaration
Public ReadOnly Property Unit As CodecsRasterizeDocumentUnit
'Usage
Dim instance As CodecsDocumentImageInfo Dim value As CodecsRasterizeDocumentUnit value = instance.Unit
public CodecsRasterizeDocumentUnit Unit {get;}
@property (nonatomic, assign, readonly) LTCodecsRasterizeDocumentUnit unit
public CodecsRasterizeDocumentUnit getUnit()
get_Unit();
public: property CodecsRasterizeDocumentUnit Unit { CodecsRasterizeDocumentUnit get(); }
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 |