Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Unit As CodecsRasterizeDocumentUnit |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public CodecsRasterizeDocumentUnit Unit {get;} |
C++/CLI | |
---|---|
public: property CodecsRasterizeDocumentUnit Unit { CodecsRasterizeDocumentUnit get(); } |
Return Value
A CodecsRasterizeDocumentUnit enumeration member that specifies the unit for PageWidth and PageHeight.For an example, refer to CodecsDocumentImageInfo.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family