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
@property (nonatomic, assign) double topMargin
public double getTopMargin()
public void setTopMargin(double 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.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.
CodecsRasterizeDocumentLoadOptions Class
CodecsRasterizeDocumentLoadOptions Members
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document