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 or sets the type of compression applied to images in the PDF file.
|
int |
getJpegQuality()
Gets or sets 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)
Gets or sets the type of compression applied to images in the PDF file.
|
void |
setJpegQuality(int value)
Gets or 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 or sets the type of compression applied to images in the PDF file.
public final void setImageCompression(int value)
Gets or sets the type of compression applied to images in the PDF file.
public final int getJpegQuality()
Gets or sets a value determining the quality of the JPEG images inside PDF document.
public final void setJpegQuality(int value)
Gets or sets a value determining the quality of the JPEG images inside PDF document.
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
.Copyright (c) 2002-2018 Aspose. All Rights Reserved.