LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly)
LEAD Technologies, Inc

Unit Property






Gets or sets the units to use for PageWidth, PageHeight, LeftMargin, TopMargin, RightMargin and BottomMargin values.
Syntax
public CodecsRasterizeDocumentUnit Unit {get; set;}
'Declaration
 
Public Property Unit As CodecsRasterizeDocumentUnit
'Usage
 
Dim instance As RasterDialogRasterizeDocumentFileOptions
Dim value As CodecsRasterizeDocumentUnit
 
instance.Unit = value
 
value = instance.Unit
public CodecsRasterizeDocumentUnit Unit {get; set;}
 get_Unit();
set_Unit(value);
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
Remarks

For more information, refer to Leadtools.Codecs.CodecsRasterizeDocumentLoadOptions

Example
Refer to RasterOpenDialog example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterDialogRasterizeDocumentFileOptions Class
RasterDialogRasterizeDocumentFileOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.