Gets or sets the top margin value when rasterizing a document to a raster image.
public double TopMargin { get; set; }
Public Property TopMargin As Double
public double TopMargin {get; set;}
@property (nonatomic, assign) double topMargin
public double getTopMargin()
public void setTopMargin(double value)
<br/>get_TopMargin();<br/>set_TopMargin(value);<br/>Object.defineProperty('TopMargin');
A 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.
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, DOCX/DOC, PPTX/PPT and XLSX/XLS.
For an example, refer to CodecsRasterizeDocumentLoadOptions.
CodecsRasterizeDocumentLoadOptions Class
CodecsRasterizeDocumentLoadOptions Members
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET