Visual Basic (Declaration) | |
---|---|
Public Property Unit As CodecsRasterizeDocumentUnit |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CodecsRasterizeDocumentLoadOptions Dim value As CodecsRasterizeDocumentUnit instance.Unit = value value = instance.Unit |
C# | |
---|---|
public CodecsRasterizeDocumentUnit Unit {get; set;} |
C++/CLI | |
---|---|
public: property CodecsRasterizeDocumentUnit Unit { CodecsRasterizeDocumentUnit get(); void set ( CodecsRasterizeDocumentUnit value); } |
Property Value
A CodecsRasterizeDocumentUnit enumeration member that specify the unit to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values. Default value is CodecsRasterizeDocumentUnit.InchFor an example, refer to CodecsRasterizeDocumentLoadOptions.
When using a pixel unit (CodecsRasterizeDocumentUnit.Pixel), the page width and height are multiplied by the current resolution(XResolution and YResolution) to detemine 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 |
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)