Leadtools.WinForms.CommonDialogs.File Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Unit Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterDialogRasterizeDocumentFileOptions Class : Unit Property



Gets or sets the units to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values.

Syntax

Visual Basic (Declaration) 
Public Property Unit As CodecsRasterizeDocumentUnit
Visual Basic (Usage)Copy Code
Dim instance As RasterDialogRasterizeDocumentFileOptions
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);
}

Return Value

A CodecsRasterizeDocumentUnit enumeration member that specify the unit to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values. Default value is CodecsRasterizeDocumentUnit.Inch

Example

Refer to RasterOpenDialog example.

Remarks

For more information, refer to CodecsRasterizeDocumentLoadOptions

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also