←Select platform

LeftMargin Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public double LeftMargin { get; set; } 
Public Property LeftMargin As Double 
public double LeftMargin {get; set;} 
@property (nonatomic, assign) double leftMargin 
public double getLeftMargin() 
public void setLeftMargin(double value) 
             
 <br/>get_LeftMargin();<br/>set_LeftMargin(value);<br/>Object.defineProperty('LeftMargin');  
public: 
property double LeftMargin { 
   double get(); 
   void set (    double ); 
} 

Property Value

A Double value that indicates the margin 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.

Remarks

The values 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, DOCX/DOC, PPTX/PPTX and XLSX/XLS.

Example

For an example, refer to CodecsRasterizeDocumentLoadOptions.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly