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

TopMargin Property






Gets or sets the top margin value when rasterizing a document to a raster image. .NET support WinRT support
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;}
 get_TopMargin();
set_TopMargin(value);
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: 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.