public class PdfSaveOptions
Constructor Summary |
---|
PdfSaveOptions()
Initializes a new instance of this class that can be used to save a document in the |
Property Getters/Setters Summary | ||
---|---|---|
java.awt.geom.Rectangle2D.Float | getArea() | |
Gets or sets the area of the shapes will be saved .
|
||
int | getCompliance() | |
void | setCompliance(intvalue) | |
Desired conformance level for generated PDF document.
Default is |
||
java.lang.String | getDefaultFont() | |
void | setDefaultFont(java.lang.Stringvalue) | |
When characters in the diagram are unicode and not be set with correct font value or the font is not installed locally, they may appear as block in pdf, image or XPS. Set the DefaultFont such as MingLiu or MS Gothic to show these characters. | ||
PdfDigitalSignatureDetails | getDigitalSignatureDetails() | |
void | ||
Gets or sets a digital signature details. If not set, then no signing will be performed. | ||
PdfEncryptionDetails | getEncryptionDetails() | |
void | ||
Gets or sets a encryption details. If not set, then no encryption will be performed. | ||
boolean | getEnlargePage() | |
void | setEnlargePage(booleanvalue) | |
Specifies whether enlarge page . | ||
boolean | getExportGuideShapes() | |
void | setExportGuideShapes(booleanvalue) | |
Defines whether need exporting the guide shapes or not. | ||
boolean | getExportHiddenPage() | |
void | setExportHiddenPage(booleanvalue) | |
Defines whether need exporting the hidden page or not. | ||
int | getHorizontalResolution() | |
void | setHorizontalResolution(intvalue) | |
Gets or sets the horizontal resolution for generated images, in dots per inch. Applies generating image method except Emf format images. | ||
boolean | isExportComments() | |
void | setExportComments(booleanvalue) | |
Defines whether need exporting the comments or not. | ||
int | getJpegQuality() | |
void | setJpegQuality(intvalue) | |
Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95. | ||
int | getPageCount() | |
void | setPageCount(intvalue) | |
Gets or sets the number of pages to render in PDF. Default is MaxValue which means all pages of the diagram will be rendered. | ||
int | getPageIndex() | |
void | setPageIndex(intvalue) | |
Gets or sets the 0-based index of the first page to render. Default is 0. | ||
IPageSavingCallback | getPageSavingCallback() | |
void | ||
Control/Indicate progress of page saving process. | ||
PageSize | getPageSize() | |
void | setPageSize(PageSize value) | |
Gets or sets the page size for the generated images.
Can be |
||
boolean | getSaveForegroundPagesOnly() | |
void | setSaveForegroundPagesOnly(booleanvalue) | |
Specifies whether all pages will be saved in image or only foreground. | ||
int | getSaveFormat() | |
void | setSaveFormat(intvalue) | |
Specifies the format in which the rendered diagram pages will be saved if this save options object is used.
Can be |
||
ShapeCollection | getShapes() | |
void | setShapes(ShapeCollection value) | |
Gets or sets shapes to render. Default count is 0. | ||
boolean | getSplitMultiPages() | |
void | setSplitMultiPages(booleanvalue) | |
Defines whether split digram to multi pages according to page's setting. | ||
int | getTextCompression() | |
void | setTextCompression(intvalue) | |
Specifies compression type to be used for all content streams except images.
Default is |
||
int | getVerticalResolution() | |
void | setVerticalResolution(intvalue) | |
Gets or sets the vertical resolution for generated images, in dots per inch. Applies generating image method except Emf format image. | ||
IWarningCallback | getWarningCallback() | |
void | ||
Gets or sets warning callback. |
public PdfSaveOptions() throws java.lang.Exception
public int getPageCount() / public void setPageCount(int value)
public int getPageIndex() / public void setPageIndex(int value)
public int getSaveFormat() / public void setSaveFormat(int value)
public boolean getSaveForegroundPagesOnly() / public void setSaveForegroundPagesOnly(boolean value)
public int getCompliance() / public void setCompliance(int value)
public PdfEncryptionDetails getEncryptionDetails() / public void setEncryptionDetails(PdfEncryptionDetails value)
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)
public IPageSavingCallback getPageSavingCallback() / public void setPageSavingCallback(IPageSavingCallback value)
public int getJpegQuality() / public void setJpegQuality(int value)
public int getHorizontalResolution() / public void setHorizontalResolution(int value)
public int getVerticalResolution() / public void setVerticalResolution(int value)
public boolean getSplitMultiPages() / public void setSplitMultiPages(boolean value)
public boolean getExportHiddenPage() / public void setExportHiddenPage(boolean value)
public int getTextCompression() / public void setTextCompression(int value)
public PdfDigitalSignatureDetails getDigitalSignatureDetails() / public void setDigitalSignatureDetails(PdfDigitalSignatureDetails value)
public PageSize getPageSize() / public void setPageSize(PageSize value)
public ShapeCollection getShapes() / public void setShapes(ShapeCollection value)
public java.awt.geom.Rectangle2D.Float getArea()
public boolean getExportGuideShapes() / public void setExportGuideShapes(boolean value)
public boolean isExportComments() / public void setExportComments(boolean value)
public boolean getEnlargePage() / public void setEnlargePage(boolean value)
public java.lang.String getDefaultFont() / public void setDefaultFont(java.lang.String value)