public final class PagePreviewOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_DPI
Defines a default value of
dpi property. |
| Constructor and Description |
|---|
PagePreviewOptions(int dpi)
Initializes a new instance of the
PagePreviewOptions class with the preview DPI. |
PagePreviewOptions(PagePreviewFormat format)
Initializes a new instance of the
PagePreviewOptions class with the preview format. |
PagePreviewOptions(PagePreviewFormat format,
int dpi)
Initializes a new instance of the
PagePreviewOptions class with the preview format and DPI. |
| Modifier and Type | Method and Description |
|---|---|
int |
getDpi()
Gets the DPI of the document page image.
|
PagePreviewFormat |
getFormat()
Gets the format of the document page image.
|
public static final int DEFAULT_DPI
dpi property.public PagePreviewOptions(PagePreviewFormat format)
PagePreviewOptions class with the preview format.format - The format of the document page image.public PagePreviewOptions(int dpi)
PagePreviewOptions class with the preview DPI.dpi - The DPI of the document page image.public PagePreviewOptions(PagePreviewFormat format, int dpi)
PagePreviewOptions class with the preview format and DPI.format - The format of the document page image.dpi - The DPI of the document page image.public PagePreviewFormat getFormat()
PagePreviewFormat.public int getDpi()
DEFAULT_DPI.Copyright © 2026. All rights reserved.