Constructor Summary |
---|
PdfSaveOptions()
Creates the options for saving pdf file. |
Property Getters/Setters Summary | ||
---|---|---|
function | getAllColumnsInOnePagePerSheet() | |
function | ||
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. | ||
function | getBookmark() | |
function | setBookmark(value) | |
Gets and sets the |
||
function | getCachedFileFolder() | |
function | setCachedFileFolder(value) | |
The cached file folder is used to store some large data. | ||
function | getCalculateFormula() | |
function | setCalculateFormula(value) | |
Indicates whether to calculate formulas before saving pdf file. | ||
function | getCheckFontCompatibility() | |
function | setCheckFontCompatibility(value) | |
Indicates whether to check font compatibility for every character in text. | ||
function | getCheckWorkbookDefaultFont() | |
function | 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. | ||
function | getClearData() | |
function | setClearData(value) | |
Make the workbook empty after saving the file. | ||
function | getCompliance() | |
function | setCompliance(value) | |
Gets or sets the PDF standards compliance level for output documents. The value of the property is PdfCompliance integer constant. | ||
function | getCreateDirectory() | |
function | setCreateDirectory(value) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
function | getCreatedTime() | |
function | setCreatedTime(value) | |
Gets and sets the time of generating the pdf document. | ||
function | getCustomPropertiesExport() | |
function | setCustomPropertiesExport(value) | |
Gets or sets a value determining the way |
||
function | getDefaultEditLanguage() | |
function | setDefaultEditLanguage(value) | |
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. | ||
function | getDefaultFont() | |
function | 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. | ||
function | getDisplayDocTitle() | |
function | setDisplayDocTitle(value) | |
Indicates whether the window's title bar should display the document title. | ||
function | getDrawObjectEventHandler() | |
function | setDrawObjectEventHandler(value) | |
Implements this interface to get DrawObject and Bound when rendering. | ||
function | getEmbedAttachments() | |
function | setEmbedAttachments(value) | |
Indicates whether to embed attachment for Ole objects in Excel. | ||
function | getEmbedStandardWindowsFonts() | |
function | 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. | ||
function | getEmfRenderSetting() | |
function | setEmfRenderSetting(value) | |
Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant. | ||
function | getExportDocumentStructure() | |
function | setExportDocumentStructure(value) | |
Indicates whether to export document structure. | ||
function | getFontEncoding() | |
function | setFontEncoding(value) | |
Gets or sets embedded font encoding in pdf. The value of the property is PdfFontEncoding integer constant. | ||
function | getGridlineType() | |
function | setGridlineType(value) | |
Gets or sets gridline type. The value of the property is GridlineType integer constant. | ||
function | getIgnoreError() | |
function | setIgnoreError(value) | |
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc. | ||
function | getImageType() | |
function | setImageType(value) | |
Represents the image type when converting the chart and shape . | ||
function | isFontSubstitutionCharGranularity() | |
function | ||
Indicates whether to only substitute the font of character when the cell font is not compatibility for it. | ||
function | getMergeAreas() | |
function | setMergeAreas(value) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
function | getOnePagePerSheet() | |
function | 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. | ||
function | getOptimizationType() | |
function | setOptimizationType(value) | |
Gets and sets pdf optimization type. The value of the property is PdfOptimizationType integer constant. | ||
function | getOutputBlankPageWhenNothingToPrint() | |
function | ||
Indicates whether to output a blank page when there is nothing to print. | ||
function | getPageCount() | |
function | setPageCount(value) | |
Gets or sets the number of pages to save. | ||
function | getPageIndex() | |
function | setPageIndex(value) | |
Gets or sets the 0-based index of the first page to save. | ||
function | getPageSavingCallback() | |
function | setPageSavingCallback(value) | |
Control/Indicate progress of page saving process. | ||
function | getPdfCompression() | |
function | setPdfCompression(value) | |
Indicate the compression algorithm The value of the property is PdfCompressionCore integer constant. | ||
function | getPrintingPageType() | |
function | setPrintingPageType(value) | |
Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. | ||
function | getProducer() | |
function | setProducer(value) | |
Gets and sets producer of generated pdf document. | ||
function | getRefreshChartCache() | |
function | setRefreshChartCache(value) | |
Indicates whether refreshing chart cache data | ||
function | getSaveFormat() | |
Gets the save file format.
The value of the property is SaveFormat integer constant. |
||
function | getSecurityOptions() | |
function | setSecurityOptions(value) | |
Set this options, when security is need in xls2pdf result. | ||
function | getSheetSet() | |
function | setSheetSet(value) | |
Gets or sets the sheets to render. Default is all visible sheets in the workbook: |
||
function | getSortExternalNames() | |
function | setSortExternalNames(value) | |
Indicates whether sorting external defined names before saving file. | ||
function | getSortNames() | |
function | setSortNames(value) | |
Indicates whether sorting defined names before saving file. | ||
function | getTextCrossType() | |
function | 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. | ||
function | getUpdateSmartArt() | |
function | setUpdateSmartArt(value) | |
Indicates whether updating smart art setting. The default value is false. | ||
function | getValidateMergedAreas() | |
function | setValidateMergedAreas(value) | |
Indicates whether validate merged cells before saving the file. | ||
function | getWatermark() | |
function | setWatermark(value) | |
Gets or sets watermark to output. |
Method Summary | ||
---|---|---|
function | 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.
|
function PdfSaveOptions()
function getEmbedStandardWindowsFonts() / function setEmbedStandardWindowsFonts(value)
function getBookmark() / function setBookmark(value)
function getCompliance() / function setCompliance(value)
function getSecurityOptions() / function setSecurityOptions(value)
function getImageType() / function setImageType(value)
function getCalculateFormula() / function setCalculateFormula(value)
function getPdfCompression() / function setPdfCompression(value)
function getCreatedTime() / function setCreatedTime(value)
function getProducer() / function setProducer(value)
function getOptimizationType() / function setOptimizationType(value)
function getCustomPropertiesExport() / function setCustomPropertiesExport(value)
function getExportDocumentStructure() / function setExportDocumentStructure(value)
function getDisplayDocTitle() / function setDisplayDocTitle(value)
function getFontEncoding() / function setFontEncoding(value)
function getWatermark() / function setWatermark(value)
function getEmbedAttachments() / function setEmbedAttachments(value)
function getDefaultFont() / function setDefaultFont(value)
function getCheckWorkbookDefaultFont() / function setCheckWorkbookDefaultFont(value)
function getCheckFontCompatibility() / function setCheckFontCompatibility(value)
function isFontSubstitutionCharGranularity() / function setFontSubstitutionCharGranularity(value)
function getOnePagePerSheet() / function setOnePagePerSheet(value)
function getAllColumnsInOnePagePerSheet() / function setAllColumnsInOnePagePerSheet(value)
function getIgnoreError() / function setIgnoreError(value)
function getOutputBlankPageWhenNothingToPrint() / function setOutputBlankPageWhenNothingToPrint(value)
function getPageIndex() / function setPageIndex(value)
function getPageCount() / function setPageCount(value)
function getPrintingPageType() / function setPrintingPageType(value)
function getGridlineType() / function setGridlineType(value)
function getTextCrossType() / function setTextCrossType(value)
function getDefaultEditLanguage() / function setDefaultEditLanguage(value)
function getSheetSet() / function setSheetSet(value)
function getDrawObjectEventHandler() / function setDrawObjectEventHandler(value)
function getPageSavingCallback() / function setPageSavingCallback(value)
function getEmfRenderSetting() / function setEmfRenderSetting(value)
function getSaveFormat()
function getClearData() / function setClearData(value)
function getCachedFileFolder() / function setCachedFileFolder(value)
function getValidateMergedAreas() / function setValidateMergedAreas(value)
function getMergeAreas() / function setMergeAreas(value)
function getCreateDirectory() / function setCreateDirectory(value)
function getSortNames() / function setSortNames(value)
function getSortExternalNames() / function setSortExternalNames(value)
function getRefreshChartCache() / function setRefreshChartCache(value)
function getUpdateSmartArt() / function setUpdateSmartArt(value)
function setImageResample(desiredPPI, jpegQuality)
desiredPPI: Number
- Desired pixels per inch. 220 high quality. 150 screen quality. 96 email quality.jpegQuality: Number
- 0 - 100% JPEG quality.