Class PdfRasterOptions
Options for rasterizing PDF pages to images.
public sealed class PdfRasterOptions
- Inheritance
-
PdfRasterOptions
- Inherited Members
Constructors
Fields
- DefaultDpi
The default output resolution in dots per inch.
Properties
- Background
Gets or sets the colour the page is painted onto. Default: white.
- Dpi
Gets or sets the output resolution in dots per inch. Default: DefaultDpi.
- Height
Gets or sets the target output height in pixels, or 0 for whatever Dpi produces. Defaults to 0.
- JpegQuality
Gets or sets the JPEG quality, 1–100. Default: 85. Ignored for PNG.
- MaxHeight
Gets or sets an upper bound on the output height in pixels, or 0 for none. Defaults to 0.
- MaxWidth
Gets or sets an upper bound on the output width in pixels, or 0 for none. Defaults to 0.
- ScalePercent
Gets or sets a uniform scale as a percentage of natural size. Defaults to 100.