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

Return Value

A 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

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