Gets or sets the units to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values.
public CodecsRasterizeDocumentUnit Unit { get; set; }
Public Property Unit As CodecsRasterizeDocumentUnit
@property (nonatomic, assign) LTCodecsRasterizeDocumentUnit unit
public CodecsRasterizeDocumentUnit getUnit()
public void setUnit(CodecsRasterizeDocumentUnit value)
public:
property CodecsRasterizeDocumentUnit Unit {
CodecsRasterizeDocumentUnit get();
void set ( CodecsRasterizeDocumentUnit );
}
A CodecsRasterizeDocumentUnit enumeration member that specify the unit to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values. Default value is CodecsRasterizeDocumentUnit.Inch
When using a pixel unit (CodecsRasterizeDocumentUnit.Pixel), the page width and height are multiplied by the current resolution(XResolution and YResolution) to determine the final physical page size).
Possible values are:
Value | Description |
---|---|
CodecsRasterizeDocumentUnit.Pixel |
The page width, height or margins are in pixels |
CodecsRasterizeDocumentUnit.Inch |
The page width, height or margins are in inches |
CodecsRasterizeDocumentUnit.Millimeter |
The page width, height or margins are in millimeters |
CodecsRasterizeDocumentLoadOptions Class
CodecsRasterizeDocumentLoadOptions Members
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