LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

LeftMargin Property






Gets or sets the left margin value when rasterizing a document to a raster image. .NET support WinRT support
Syntax
public double LeftMargin {get; set;}
'Declaration
 
Public Property LeftMargin As Double
'Usage
 
Dim instance As CodecsRasterizeDocumentLoadOptions
Dim value As Double
 
instance.LeftMargin = value
 
value = instance.LeftMargin
public double LeftMargin {get; set;}
 get_LeftMargin();
set_LeftMargin(value);
public:
property double LeftMargin {
   double get();
   void set (    double value);
}

Property Value

A System.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, DOC/DOCX(2007/2010), PPT/PPTX(2007/2010) and XLS/XLSX(2007/2010).

Example
For an example, refer to CodecsRasterizeDocumentLoadOptions.
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

CodecsRasterizeDocumentLoadOptions Class
CodecsRasterizeDocumentLoadOptions Members
CodecsRasterizeDocumentLoadOptions Class
Implementing PDF Plug in Features
CodecsDocumentImageInfo Class

 

 


Products | Support | Contact Us | Copyright Notices

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