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 > CodecsRasterizeDocumentLoadOptions Class : Unit Property |
public CodecsRasterizeDocumentUnit Unit {get; set;}
'Declaration
Public Property Unit As CodecsRasterizeDocumentUnit
'Usage
Dim instance As CodecsRasterizeDocumentLoadOptions Dim value As CodecsRasterizeDocumentUnit instance.Unit = value value = instance.Unit
public CodecsRasterizeDocumentUnit Unit {get; set;}
@property (nonatomic, assign) LTCodecsRasterizeDocumentUnit unit
public CodecsRasterizeDocumentUnit getUnit() public void setUnit(CodecsRasterizeDocumentUnit value)
<br/>get_Unit();<br/>set_Unit(value);<br/>Object.defineProperty('Unit');
public: property CodecsRasterizeDocumentUnit Unit { CodecsRasterizeDocumentUnit get(); void set ( CodecsRasterizeDocumentUnit value); }
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 |