public class PresentationPreviewOptions extends PreviewOptions
Provides options to sets requirements and stream delegates for preview generation of Presentation document.
PreviewOptions.PreviewFormats| Modifier and Type | Field and Description |
|---|---|
static long |
DefaultResolution
Default resolution in dots per inch.
|
| Constructor and Description |
|---|
PresentationPreviewOptions(ICreatePageStream createPageStream)
Initializes a new instance of the
class causing the output stream to be closed. |
PresentationPreviewOptions(ICreatePageStream createPageStream,
IReleasePageStream releasePageStream)
Initializes a new instance of
class causing the output stream to be returned
to the client for further use. |
| Modifier and Type | Method and Description |
|---|---|
long |
getResolution()
Gets the resolution for the generated images, in dots per inch.
|
void |
setResolution(long value)
Sets the resolution for the generated images, in dots per inch.
|
getCreatePageStream, getHeight, getPageNumbers, getPreviewFormat, getReleasePageStream, getWidth, setCreatePageStream, setHeight, setPageNumbers, setPreviewFormat, setReleasePageStream, setWidthpublic static final long DefaultResolution
Default resolution in dots per inch.
public PresentationPreviewOptions(ICreatePageStream createPageStream)
PresentationPreviewOptions class causing the output stream to be closed.createPageStream - Creates a stream for a specific page preview.public PresentationPreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream)
PresentationPreviewOptions class causing the output stream to be returned
to the client for further use.createPageStream - Creates a stream for a specific page preview.releasePageStream - Notifies that the page preview generation is done and gets the output stream.public final long getResolution()
Gets the resolution for the generated images, in dots per inch.
public final void setResolution(long value)
Sets the resolution for the generated images, in dots per inch.
value - The resolution for the generated images, in dots per inch.Copyright © 2026. All rights reserved.