LEADTOOLS Image File Support (Leadtools.Codecs assembly)

TopMargin Property

Show in webframe







Gets or sets the top margin value when rasterizing a document to a raster image.
Syntax
public double TopMargin {get; set;}
'Declaration
 
Public Property TopMargin As Double
'Usage
 
Dim instance As CodecsRasterizeDocumentLoadOptions
Dim value As Double
 
instance.TopMargin = value
 
value = instance.TopMargin
public double TopMargin {get; set;}
@property (nonatomic, assign) double topMargin;
public double getTopMargin()
public void setTopMargin(double value)
            
 
get_TopMargin();
set_TopMargin(value);
Object.defineProperty('TopMargin');
public:
property double TopMargin {
   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.0 inches. The value of TopMargin must be greater than or equal to 0.
Remarks

The values of 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

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.