public final class PdfSaveOptions extends SaveOptions
Allows to specify additional options when rendering document pages to PDF.
Constructor and Description |
---|
PdfSaveOptions()
Initializes a new instance of the
PdfSaveOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getImageCompression()
Gets the type of compression applied to images in the PDF file.
|
int |
getJpegQuality()
Gets a value determining the quality of the JPEG images inside PDF document.
|
int |
getPageCount()
Gets or sets the number of pages to save.
|
int |
getPageIndex()
Gets or sets the index of the first page to save.
|
PageSplittingAlgorithm |
getPageSplittingAlgorithm()
Gets or sets algorithm used for page splitting.
|
void |
setImageCompression(int value)
Sets the type of compression applied to images in the PDF file.
|
void |
setJpegQuality(int value)
Sets a value determining the quality of the JPEG images inside PDF document.
|
void |
setPageCount(int value)
Gets or sets the number of pages to save.
|
void |
setPageIndex(int value)
Gets or sets the index of the first page to save.
|
void |
setPageSplittingAlgorithm(PageSplittingAlgorithm value)
Gets or sets algorithm used for page splitting.
|
getFontsSubsystem, getSaveFormat, setFontsSubsystem
public PdfSaveOptions()
Initializes a new instance of the PdfSaveOptions
class.
public int getPageCount()
Gets or sets the number of pages to save. By default is System.int32.maxValue
which means all pages of the document will be rendered.
public void setPageCount(int value)
Gets or sets the number of pages to save. By default is System.int32.maxValue
which means all pages of the document will be rendered.
public final int getImageCompression()
Gets the type of compression applied to images in the PDF file.
public final void setImageCompression(int value)
Sets the type of compression applied to images in the PDF file.
public final int getJpegQuality()
Gets a value determining the quality of the JPEG images inside PDF document. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.
public final void setJpegQuality(int value)
Sets a value determining the quality of the JPEG images inside PDF document. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.
public int getPageIndex()
Gets or sets the index of the first page to save. By default is 0.
public void setPageIndex(int value)
Gets or sets the index of the first page to save. By default is 0.
public PageSplittingAlgorithm getPageSplittingAlgorithm()
Gets or sets algorithm used for page splitting.
Value: ThePageSplittingAlgorithm
.public void setPageSplittingAlgorithm(PageSplittingAlgorithm value)
Gets or sets algorithm used for page splitting.
Value: ThePageSplittingAlgorithm
.