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 |
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 |
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.
|
getSaveFormat
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 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) 2016 Aspose. All Rights Reserved.