PdfSaveOptions Class
Represents the options for saving pdf file.
Inheritance Hierarchy

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.9.0.0 (19.9)
Syntax
public class PdfSaveOptions : SaveOptions

The PdfSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodPdfSaveOptions
Creates the options for saving pdf file.
Public methodPdfSaveOptions(SaveFormat)
Creates the options for saving pdf file.
Properties
  NameDescription
Public propertyAllColumnsInOnePagePerSheet
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.
Public propertyBookmark
Gets and sets the PdfBookmarkEntry object.
Public propertyCachedFileFolder
The cached file folder is used to store some large data.
(Inherited from SaveOptions.)
Public propertyCalculateFormula
Indicates whether calculate formulas before saving pdf file.
Public propertyCheckFontCompatibility
Indicates whether check font compatibility for every character in text.
Public propertyCheckWorkbookDefaultFont
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.
Public propertyClearData
Make the workbook empty after saving the file.
(Inherited from SaveOptions.)
Public propertyCompliance
Workbook converts to pdf will according to PdfCompliance in this property.
Public propertyCreateDirectory
If true and the directory does not exist, the directory will be automatically created before saving the file.
(Inherited from SaveOptions.)
Public propertyCreatedTime
Gets and sets the time of generating the pdf document.
Public propertyCustomPropertiesExport
Gets or sets a value determining the way CustomDocumentPropertyCollection are exported to PDF file. Default value is None.
Public propertyDefaultFont
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.
Public propertyDrawObjectEventHandler
Implements this interface to get DrawObject and Bound when rendering.
Public propertyEmbedStandardWindowsFonts
True to embed true type fonts. Affects only ASCII characters 32-127. Fonts for character codes greater than 127 are always embedded. PDFA1B must embeded font. Default is true.
Public propertyEnableHTTPCompression
Indicates if http compression is to be used in user's IIS.
(Inherited from SaveOptions.)
Public propertyExportDocumentStructure
Gets or sets a value determining whether or not to export document structure.
Public propertyGridlineType
Gets or sets gridline type.
Public propertyIgnoreError
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc.
Public propertyImageType
Represents the image type when converting the chart and shape .
Public propertyIsFontSubstitutionCharGranularity
Indicates whether only substitute the font of character when the cell font is not compatibility for it.
Public propertyMergeAreas
Indicates whether merge the areas of conditional formatting and validation before saving the file.
(Inherited from SaveOptions.)
Public propertyOnePagePerSheet
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.
Public propertyOptimizationType
Gets and sets pdf optimization type.
Public propertyOutputBlankPageWhenNothingToPrint
Indicates whether to output a blank page when there is nothing to print.
Public propertyPageCount
Gets or sets the number of pages to save.
Public propertyPageIndex
Gets or sets the 0-based index of the first page to save.
Public propertyPageSavingCallback
Control/Indicate progress of page saving process.
Public propertyPdfCompression
Indcate the compression algorithm
Public propertyPdfExportImagesFolder
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.
(Inherited from SaveOptions.)
Public propertyPrintingPageType
Indicates which pages will not be printed.
Public propertyRefreshChartCache
Indicates whether refreshing chart cache data
(Inherited from SaveOptions.)
Public propertySaveFormat
Gets the save file format.
(Inherited from SaveOptions.)
Public propertySecurityOptions
Set this options, when security is need in xls2pdf result.
Public propertySortNames
Indicates whether sorting defined names before saving file.
(Inherited from SaveOptions.)
Public propertyStreamProvider Obsolete.
Gets or sets the IStreamProvider for exporting objects.
Public propertyTextCrossType
Gets or sets displaying text type when the text width is larger than cell width.
Public propertyValidateMergedAreas
Indicates whether validate merged cells before saving the file.
(Inherited from SaveOptions.)
Public propertyWarningCallback
Gets or sets warning callback.
(Inherited from SaveOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetImageResample
Set 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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Protected fieldm_SaveFormat (Inherited from SaveOptions.)
See Also