ImageToPdfOptions Class
Definition
- Namespace
- GleamTech.DocumentUltimate
- Assembly
- GleamTech.DocumentUltimate.dll
Represents options specific to image formats (including Dicom, Cad) to PDF conversion.
public class ImageToPdfOptions
- Inheritance
-
ImageToPdfOptions
Constructors
| ImageToPdfOptions() |
Fields
| A4PageHeight |
The height of an A4 page, in points. |
| A4PageMargin |
The margin of an A4 page, in points. |
| A4PageWidth |
The width of an A4 page, in points. |
Properties
| AutoOrientPage |
Gets or sets a value indicating whether to automatically set the page orientation to portrait or landscape according to the image aspect ratio. The default value is true. Only when both page dimensions are specified, automatically swaps the width and height when necessary to match the image orientation. |
| AutoWrapPage |
Gets or sets a value indicating whether to automatically resize the page to match the dimensions of the fitted image to avoid vertical or horizontal whitespace/margins. The default value is true. When set to true, PageMargin will also be ignored. |
| PageHeight |
Gets or sets the page height, in points.
The default value is
The image will be fitted within this height.
If the value is |
| PageMargin |
Gets or sets the margin between the page edges and the image, in points.
The same margin is applied to all sides of the page.
The default value is This margin will be ignored if AutoWrapPage is set to true. |
| PageWidth |
Gets or sets the page width, in points.
The default value is
The image will be fitted within this width.
If the value is |