PdfSaveOptions Class

PdfSaveOptions class

Represents the options for saving pdf file.


type PdfSaveOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewPdfSaveOptionsCreates the options for saving pdf file.
NewPdfSaveOptions_PaginatedSaveOptionsConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetEmbedStandardWindowsFontsTrue 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.
SetEmbedStandardWindowsFontsTrue 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.
GetBookmarkGets and sets the PdfBookmarkEntry object.
SetBookmarkGets and sets the PdfBookmarkEntry object.
GetComplianceGets or sets the PDF standards compliance level for output documents.
SetComplianceGets or sets the PDF standards compliance level for output documents.
GetSecurityOptionsSet this options, when security is need in xls2pdf result.
SetSecurityOptionsSet this options, when security is need in xls2pdf result.
GetCalculateFormulaIndicates whether to calculate formulas before saving pdf file.
SetCalculateFormulaIndicates whether to calculate formulas before saving pdf file.
GetPdfCompressionIndicate the compression algorithm
SetPdfCompressionIndicate the compression algorithm
SetImageResampleSets 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.
GetCreatedTimeGets and sets the time of generating the pdf document.
SetCreatedTimeGets and sets the time of generating the pdf document.
GetProducerGets and sets producer of generated pdf document.
SetProducerGets and sets producer of generated pdf document.
GetOptimizationTypeGets and sets pdf optimization type.
SetOptimizationTypeGets and sets pdf optimization type.
GetCustomPropertiesExportGets or sets a value determining the way are exported to PDF file. Default value is None.
SetCustomPropertiesExportGets or sets a value determining the way are exported to PDF file. Default value is None.
GetExportDocumentStructureIndicates whether to export document structure.
SetExportDocumentStructureIndicates whether to export document structure.
GetDisplayDocTitleIndicates whether the window’s title bar should display the document title.
SetDisplayDocTitleIndicates whether the window’s title bar should display the document title.
GetFontEncodingGets or sets embedded font encoding in pdf.
SetFontEncodingGets or sets embedded font encoding in pdf.
GetWatermarkGets or sets watermark to output.
SetWatermarkGets or sets watermark to output.
GetEmbedAttachmentsIndicates whether to embed attachment for Ole objects in Excel.
SetEmbedAttachmentsIndicates whether to embed attachment for Ole objects in Excel.
GetDefaultFontWhen 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.
SetDefaultFontWhen 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.
GetCheckWorkbookDefaultFontWhen 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.
SetCheckWorkbookDefaultFontWhen 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.
SetCheckFontCompatibilityIndicates whether to check font compatibility for every character in text.
GetCheckFontCompatibilityIndicates whether to check font compatibility for every character in text.
SetIsFontSubstitutionCharGranularityIndicates whether to only substitute the font of character when the cell font is not compatibility for it.
IsFontSubstitutionCharGranularityIndicates whether to only substitute the font of character when the cell font is not compatibility for it.
GetOnePagePerSheetIf 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 pagesetupwill still take effect.
SetOnePagePerSheetIf 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 pagesetupwill still take effect.
GetAllColumnsInOnePagePerSheetIf 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 pagesetupwill still take effect.
SetAllColumnsInOnePagePerSheetIf 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 pagesetupwill still take effect.
GetIgnoreErrorIndicates if you need to hide the error while rendering.The error can be error in shape, image, chart rendering, etc.
SetIgnoreErrorIndicates if you need to hide the error while rendering.The error can be error in shape, image, chart rendering, etc.
GetOutputBlankPageWhenNothingToPrintIndicates whether to output a blank page when there is nothing to print.
SetOutputBlankPageWhenNothingToPrintIndicates whether to output a blank page when there is nothing to print.
SetPageIndexGets or sets the 0-based index of the first page to save.
GetPageIndexGets or sets the 0-based index of the first page to save.
SetPageCountGets or sets the number of pages to save.
GetPageCountGets or sets the number of pages to save.
GetPrintingPageTypeIndicates which pages will not be printed.
SetPrintingPageTypeIndicates which pages will not be printed.
GetGridlineTypeGets or sets gridline type.
SetGridlineTypeGets or sets gridline type.
GetTextCrossTypeGets or sets displaying text type when the text width is larger than cell width.
SetTextCrossTypeGets or sets displaying text type when the text width is larger than cell width.
GetDefaultEditLanguageGets or sets default edit language.
SetDefaultEditLanguageGets or sets default edit language.
GetSheetSetGets or sets the sheets to render. Default is all visible sheets in the workbook: .
SetSheetSetGets or sets the sheets to render. Default is all visible sheets in the workbook: .
GetDrawObjectEventHandlerImplements this interface to get DrawObject and Bound when rendering.
SetDrawObjectEventHandlerImplements this interface to get DrawObject and Bound when rendering.
GetEmfRenderSettingSetting for rendering Emf metafile.
SetEmfRenderSettingSetting for rendering Emf metafile.