public class PdfViewOptions extends ViewOptions
Provides options for rendering documents into PDF format.
Constructor and Description |
---|
PdfViewOptions()
Initializes new instance of
PdfViewOptions class. |
PdfViewOptions(FileStreamFactory fileStreamFactory)
Initializes new instance of
PdfViewOptions class. |
PdfViewOptions(String outputFilePath)
Initializes new instance of
PdfViewOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getJpgQuality()
The quality of the JPG images contained by output PDF document;
Valid values are between 1 and 100;
Default value is 90.
|
Security |
getSecurity()
The output PDF document security options.
|
void |
setJpgQuality(int value)
The quality of the JPG images contained by output PDF document;
Valid values are between 1 and 100;
Default value is 90.
|
void |
setSecurity(Security value)
The output PDF document security options.
|
getPageRotations, getWatermark, rotatePage, setWatermark
getArchiveOptions, getCadOptions, getDefaultFontName, getEmailOptions, getLotusNotesOptions, getOutlookOptions, getPdfOptions, getProjectManagementOptions, getSpreadsheetOptions, getWordProcessingOptions, isForHtmlView, isRenderComments, isRenderHiddenPages, isRenderNotes, setArchiveOptions, setCadOptions, setDefaultFontName, setEmailOptions, setForHtmlView, setLotusNotesOptions, setOutlookOptions, setPdfOptions, setProjectManagementOptions, setRenderComments, setRenderHiddenPages, setRenderNotes, setSpreadsheetOptions, setWordProcessingOptions
public PdfViewOptions()
Initializes new instance of PdfViewOptions
class.
PdfViewOptions
with "output.pdf" as file path format for the output file.
The output file will be placed into current working directory of the application.
public PdfViewOptions(FileStreamFactory fileStreamFactory)
Initializes new instance of PdfViewOptions
class.
fileStreamFactory
- The factory which implements methods for creating and releasing output file stream.IllegalArgumentException
- Thrown when fileStreamFactory
is null.public PdfViewOptions(String outputFilePath)
Initializes new instance of PdfViewOptions
class.
outputFilePath
- The path for output PDF file.IllegalArgumentException
- Thrown when outputFilePath
is null or empty.public final int getJpgQuality()
The quality of the JPG images contained by output PDF document; Valid values are between 1 and 100; Default value is 90.
public final Security getSecurity()
The output PDF document security options.
public final void setJpgQuality(int value)
The quality of the JPG images contained by output PDF document; Valid values are between 1 and 100; Default value is 90.
public final void setSecurity(Security value)
The output PDF document security options.