LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property Value

A Leadtools.Codecs.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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also