LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
TopMargin Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterDialogRasterizeDocumentFileOptions Class : TopMargin Property



Gets or sets the top margin value when rasterizing a document to a raster image.

Syntax

Visual Basic (Declaration) 
Public Property TopMargin As Double
Visual Basic (Usage)Copy Code
Dim instance As RasterDialogRasterizeDocumentFileOptions
Dim value As Double
 
instance.TopMargin = value
 
value = instance.TopMargin
C# 
public double TopMargin {get; set;}
C++/CLI 
public:
property double TopMargin {
   double get();
   void set (    double value);
}

Property Value

A System.Double value that indicate the magrin value in Unit to use when rasterizing a document to a raster image. Default value is 1.25 inches. The value of TopMargin must be greater than or equal to 0.

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