Constructor Summary |
---|
PdfSaveOptions()
Creates the options for saving pdf file. |
PdfSaveOptions(saveFormat)
Creates the options for saving pdf file. |
Property Getters/Setters Summary | ||
---|---|---|
method | getAllColumnsInOnePagePerSheet() | |
method | ||
If AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be ignored, and the other settings of pagesetup will still take effect. | ||
method | getBookmark() | |
method | setBookmark(value) | |
Gets and sets the |
||
method | getCachedFileFolder() | |
method | setCachedFileFolder(value) | |
The cached file folder is used to store some large data. | ||
method | getCalculateFormula() | |
method | setCalculateFormula(value) | |
Indicates whether to calculate formulas before saving pdf file. | ||
method | getCheckFontCompatibility() | |
method | setCheckFontCompatibility(value) | |
Indicates whether to check font compatibility for every character in text. | ||
method | getCheckWorkbookDefaultFont() | |
method | setCheckWorkbookDefaultFont(value) | |
When characters in the Excel are Unicode and not be set with correct font in cell style, They may appear as block in pdf,image. Set this to true to try to use workbook's default font to show these characters first. | ||
method | getClearData() | |
method | setClearData(value) | |
Make the workbook empty after saving the file. | ||
method | getCompliance() | |
method | setCompliance(value) | |
Workbook converts to pdf will according to PdfCompliance in this property. The value of the property is PdfCompliance integer constant. | ||
method | getCreateDirectory() | |
method | setCreateDirectory(value) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
method | getCreatedTime() | |
method | setCreatedTime(value) | |
Gets and sets the time of generating the pdf document. | ||
method | getCustomPropertiesExport() | |
method | setCustomPropertiesExport(value) | |
Gets or sets a value determining the way |
||
method | getDefaultEditLanguage() | |
method | setDefaultEditLanguage(value) | |
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. | ||
method | getDefaultFont() | |
method | setDefaultFont(value) | |
When characters in the Excel are Unicode and not be set with correct font in cell style, They may appear as block in pdf,image. Set the DefaultFont such as MingLiu or MS Gothic to show these characters. If this property is not set, Aspose.Cells will use system default font to show these unicode characters. | ||
method | getDisplayDocTitle() | |
method | setDisplayDocTitle(value) | |
Indicates whether the window's title bar should display the document title. | ||
method | getDrawObjectEventHandler() | |
method | setDrawObjectEventHandler(value) | |
Implements this interface to get DrawObject and Bound when rendering. | ||
method | getEmbedStandardWindowsFonts() | |
method | setEmbedStandardWindowsFonts(value) | |
True to embed true type fonts. Affects only ASCII characters 32-127. Fonts for character codes greater than 127 are always embedded. Fonts are always embedded for PDF/A-1a, PDF/A-1b standard. Default is true. | ||
method | getEmfRenderSetting() | |
method | setEmfRenderSetting(value) | |
Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant. | ||
method | getEnableHTTPCompression() | |
method | setEnableHTTPCompression(value) | |
Indicates if http compression is to be used in user's IIS. | ||
method | getExportDocumentStructure() | |
method | setExportDocumentStructure(value) | |
Indicates whether to export document structure. | ||
method | getFontEncoding() | |
method | setFontEncoding(value) | |
Gets or sets embedded font encoding in pdf. The value of the property is PdfFontEncoding integer constant. | ||
method | getGridlineType() | |
method | setGridlineType(value) | |
Gets or sets gridline type. The value of the property is GridlineType integer constant. | ||
method | getIgnoreError() | |
method | setIgnoreError(value) | |
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc. | ||
method | getImageType() | |
method | setImageType(value) | |
Represents the image type when converting the chart and shape . | ||
method | isFontSubstitutionCharGranularity() | |
method | ||
Indicates whether to only substitute the font of character when the cell font is not compatibility for it. | ||
method | getMergeAreas() | |
method | setMergeAreas(value) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
method | getOnePagePerSheet() | |
method | setOnePagePerSheet(value) | |
If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. | ||
method | getOptimizationType() | |
method | setOptimizationType(value) | |
Gets and sets pdf optimization type. The value of the property is PdfOptimizationType integer constant. | ||
method | getOutputBlankPageWhenNothingToPrint() | |
method | ||
Indicates whether to output a blank page when there is nothing to print. | ||
method | getPageCount() | |
method | setPageCount(value) | |
Gets or sets the number of pages to save. | ||
method | getPageIndex() | |
method | setPageIndex(value) | |
Gets or sets the 0-based index of the first page to save. | ||
method | getPageSavingCallback() | |
method | setPageSavingCallback(value) | |
Control/Indicate progress of page saving process. | ||
method | getPdfCompression() | |
method | setPdfCompression(value) | |
Indicate the compression algorithm The value of the property is PdfCompressionCore integer constant. | ||
method | getPdfExportImagesFolder() | |
method | setPdfExportImagesFolder(value) | |
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string. | ||
method | getPrintingPageType() | |
method | setPrintingPageType(value) | |
Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. | ||
method | getProducer() | |
method | setProducer(value) | |
Gets and sets producer of generated pdf document. | ||
method | getRefreshChartCache() | |
method | setRefreshChartCache(value) | |
Indicates whether refreshing chart cache data | ||
method | getSaveFormat() | |
Gets the save file format.
The value of the property is SaveFormat integer constant. |
||
method | getSecurityOptions() | |
method | setSecurityOptions(value) | |
Set this options, when security is need in xls2pdf result. | ||
method | getSortExternalNames() | |
method | setSortExternalNames(value) | |
Indicates whether sorting external defined names before saving file. | ||
method | getSortNames() | |
method | setSortNames(value) | |
Indicates whether sorting defined names before saving file. | ||
method | getTextCrossType() | |
method | setTextCrossType(value) | |
Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossType integer constant. | ||
method | getUpdateSmartArt() | |
method | setUpdateSmartArt(value) | |
Indicates whether updating smart art setting. The default value is false. | ||
method | getValidateMergedAreas() | |
method | setValidateMergedAreas(value) | |
Indicates whether validate merged cells before saving the file. |
Method Summary | ||
---|---|---|
method | setImageResample(desiredPPI, jpegQuality) | |
Sets desired PPI(pixels per inch) of resample images and jpeg quality
All images will be converted to JPEG with the specified quality setting,
and images that are greater than the specified PPI (pixels per inch) will be resampled.
|
PdfSaveOptions()
PdfSaveOptions(saveFormat)
saveFormat: int
- A int getPrintingPageType() / setPrintingPageType(value)
boolean getEmbedStandardWindowsFonts() / setEmbedStandardWindowsFonts(value)
PdfBookmarkEntry getBookmark() / setBookmark(value)
int getCompliance() / setCompliance(value)
String getDefaultFont() / setDefaultFont(value)
boolean getCheckWorkbookDefaultFont() / setCheckWorkbookDefaultFont(value)
PdfSecurityOptions getSecurityOptions() / setSecurityOptions(value)
boolean getOnePagePerSheet() / setOnePagePerSheet(value)
boolean getAllColumnsInOnePagePerSheet() / setAllColumnsInOnePagePerSheet(value)
ImageFormat getImageType() / setImageType(value)
boolean getCalculateFormula() / setCalculateFormula(value)
int getPdfCompression() / setPdfCompression(value)
boolean getCheckFontCompatibility() / setCheckFontCompatibility(value)
int getPageIndex() / setPageIndex(value)
int getPageCount() / setPageCount(value)
DateTime getCreatedTime() / setCreatedTime(value)
String getProducer() / setProducer(value)
int getOptimizationType() / setOptimizationType(value)
boolean isFontSubstitutionCharGranularity() / setFontSubstitutionCharGranularity(value)
int getGridlineType() / setGridlineType(value)
int getTextCrossType() / setTextCrossType(value)
boolean getIgnoreError() / setIgnoreError(value)
boolean getOutputBlankPageWhenNothingToPrint() / setOutputBlankPageWhenNothingToPrint(value)
DrawObjectEventHandler getDrawObjectEventHandler() / setDrawObjectEventHandler(value)
int getCustomPropertiesExport() / setCustomPropertiesExport(value)
boolean getExportDocumentStructure() / setExportDocumentStructure(value)
IPageSavingCallback getPageSavingCallback() / setPageSavingCallback(value)
int getEmfRenderSetting() / setEmfRenderSetting(value)
boolean getDisplayDocTitle() / setDisplayDocTitle(value)
int getDefaultEditLanguage() / setDefaultEditLanguage(value)
int getFontEncoding() / setFontEncoding(value)
int getSaveFormat()
boolean getClearData() / setClearData(value)
String getCachedFileFolder() / setCachedFileFolder(value)
boolean getValidateMergedAreas() / setValidateMergedAreas(value)
boolean getMergeAreas() / setMergeAreas(value)
boolean getCreateDirectory() / setCreateDirectory(value)
boolean getSortNames() / setSortNames(value)
boolean getSortExternalNames() / setSortExternalNames(value)
boolean getRefreshChartCache() / setRefreshChartCache(value)
String getPdfExportImagesFolder() / setPdfExportImagesFolder(value)
boolean getEnableHTTPCompression() / setEnableHTTPCompression(value)
boolean getUpdateSmartArt() / setUpdateSmartArt(value)
setImageResample(desiredPPI, jpegQuality)
desiredPPI: int
- Desired pixels per inch. 220 high quality. 150 screen quality. 96 email quality.jpegQuality: int
- 0 - 100% JPEG quality.