Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LeftMargin Property
See Also 
Leadtools.Codecs Namespace > CodecsRasterizeDocumentLoadOptions Class : LeftMargin Property



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

Syntax

Visual Basic (Declaration) 
Public Property LeftMargin As Double
Visual Basic (Usage)Copy Code
Dim instance As CodecsRasterizeDocumentLoadOptions
Dim value As Double
 
instance.LeftMargin = value
 
value = instance.LeftMargin
C# 
public double LeftMargin {get; set;}
C++/CLI 
public:
property double LeftMargin {
   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 LeftMargin must be greater than or equal to 0.

Example

For an example, refer to CodecsRasterizeDocumentLoadOptions.

Remarks

The value of the LeftMargin, TopMargin, RightMargin and BottomMargin are only used when loading RTF and TXT documents. They are not used when loading other document formats such as PDF, XPS and XLS.

If the value of CodecsRasterizeDocumentLoadOptions.Enabled is set to true, then LeftMargin, TopMargin, RightMargin and BottomMargin will be used instead of the following properties:

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also