Property MaxPixelSize
MaxPixelSize
Gets or initializes the maximum size in pixels of the longest edge of the extracted image. The other edge is sized to preserve the page's aspect ratio.
Default is 2048. Must be between 1 and 16384 (inclusive) when specified. If Dpi is not specified, the longest
edge of the image is always rendered at exactly this size; otherwise this acts as a cap on the size of the image rendered at Dpi.
Since PDF pages are vector-based, this determines the size the page is rasterized at - chain an image processor after this processor if further
resizing or format conversion is needed.
Note: at least one of Dpi or MaxPixelSize must be specified.
Declaration
public int? MaxPixelSize { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |