Aspose::Words::Saving::PdfSaveOptions class

PdfSaveOptions class

Can be used to specify additional options when saving a document into the Pdf format. To learn more, visit the Specify Save Options documentation article.

class PdfSaveOptions : public FixedPageSaveOptions

Methods

MethodDescription
Clone()Creates a deep clone of this object.
PdfSaveOptions()Initializes a new instance of this class that can be used to save a document in the Pdf format.
get_AdditionalTextPositioning() constA flag specifying whether to write additional text positioning operators or not.
get_AttachmentsEmbeddingMode() constGets or sets a value determining how attachments are embedded to the PDF document.
get_CacheBackgroundGraphics() constGets or sets a value determining whether or not to cache graphics placed in document’s background.
get_Compliance() constSpecifies the PDF standards compliance level for output documents.
get_CreateNoteHyperlinks() constSpecifies whether to convert footnote/endnote references in main text story into active hyperlinks. When clicked the hyperlink will lead to the corresponding footnote/endnote. Default is false.
get_CustomPropertiesExport() constGets or sets a value determining the way CustomDocumentProperties are exported to PDF file.
get_DigitalSignatureDetails() constGets or sets the details for signing the output PDF document.
get_DisplayDocTitle() constA flag specifying whether the window’s title bar should display the document title taken from the Title entry of the document information dictionary.
get_DmlEffectsRenderingMode() overrideGets or sets a value determining how DrawingML effects are rendered.
get_DownsampleOptions() constAllows to specify downsample options.
get_EmbedFullFonts() constControls how fonts are embedded into the resulting PDF documents.
get_EncryptionDetails() constGets or sets the details for encrypting the output PDF document.
get_ExportDocumentStructure() constGets or sets a value determining whether or not to export document structure.
get_ExportFloatingShapesAsInlineTag() constGets or sets a value determining whether floating shapes are exported as inline tags in the document structure.
get_ExportLanguageToSpanTag() constGets or sets a value determining whether or not to create a “Span” tag in the document structure to export the text language.
get_ExportParagraphGraphicsToArtifact() constGets or sets a value determining whether a paragraph graphic should be marked as an artifact.
get_FontEmbeddingMode() constSpecifies the font embedding mode.
get_GenerateFormFieldScripts() constSpecifies whether to generate scripts that emulate specific Microsoft Word form field behavior in PDF. Default is false.
get_HeaderFooterBookmarksExportMode() constDetermines how bookmarks in headers/footers are exported.
get_ImageColorSpaceExportMode() constSpecifies how the color space will be selected for the images in PDF document.
get_ImageCompression() constSpecifies compression type to be used for all images in the document.
get_InterpolateImages() constA flag indicating whether image interpolation shall be performed by a conforming reader. When false is specified, the flag is not written to the output document and the default behaviour of reader is used instead.
get_JpegQuality()Gets or sets a value determining the quality of the JPEG images inside PDF document.
get_OpenHyperlinksInNewWindow() constGets or sets a value determining whether hyperlinks in the output Pdf document are forced to be opened in a new window (or tab) of a browser.
get_OutlineOptions() constAllows to specify outline options.
get_PageLayout() constSpecifies the page layout to be used when the document is opened in a PDF reader.
get_PageMode() constSpecifies how the PDF document should be displayed when opened in a PDF reader.
get_PreblendImages() constGets or sets a value determining whether or not to preblend transparent images with black background color.
get_PreserveFormFields() constSpecifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false.
get_RenderChoiceFormFieldBorder() constSpecifies whether to render PDF choice form field border.
get_SaveFormat() overrideSpecifies the format in which the document will be saved if this save options object is used. Can only be Pdf.
get_TextCompression() constSpecifies compression type to be used for all textual content in the document.
get_UseBookFoldPrintingSettings() constGets or sets a boolean value indicating whether the document should be saved using a booklet printing layout, if it is specified via MultiplePages.
get_UseCoreFonts() constGets or sets a value determining whether or not to substitute TrueType fonts Arial, Times New Roman, Courier New and Symbol with core PDF Type 1 fonts.
get_UseSdtTagAsFormFieldName() constSpecifies whether to use SDT control Tag or Id property as a name of form field in PDF.
get_ZoomBehavior() constGets or sets a value determining what type of zoom should be applied when a document is opened with a PDF viewer.
get_ZoomFactor() constGets or sets a value determining zoom factor (in percentages) for a document.
set_AdditionalTextPositioning(bool)A flag specifying whether to write additional text positioning operators or not.
set_AttachmentsEmbeddingMode(Aspose::Words::Saving::PdfAttachmentsEmbeddingMode)Sets a value determining how attachments are embedded to the PDF document.
set_CacheBackgroundGraphics(bool)Sets a value determining whether or not to cache graphics placed in document’s background.
set_Compliance(Aspose::Words::Saving::PdfCompliance)Specifies the PDF standards compliance level for output documents.
set_CreateNoteHyperlinks(bool)Specifies whether to convert footnote/endnote references in main text story into active hyperlinks. When clicked the hyperlink will lead to the corresponding footnote/endnote. Default is false.
set_CustomPropertiesExport(Aspose::Words::Saving::PdfCustomPropertiesExport)Sets a value determining the way CustomDocumentProperties are exported to PDF file.
set_DigitalSignatureDetails(const System::SharedPtr<Aspose::Words::Saving::PdfDigitalSignatureDetails> &)Sets the details for signing the output PDF document.
set_DisplayDocTitle(bool)A flag specifying whether the window’s title bar should display the document title taken from the Title entry of the document information dictionary.
set_DmlEffectsRenderingMode(Aspose::Words::Saving::DmlEffectsRenderingMode) overrideSets a value determining how DrawingML effects are rendered.
set_DownsampleOptions(const System::SharedPtr<Aspose::Words::Saving::DownsampleOptions> &)Allows to specify downsample options.
set_EmbedFullFonts(bool)Controls how fonts are embedded into the resulting PDF documents.
set_EncryptionDetails(const System::SharedPtr<Aspose::Words::Saving::PdfEncryptionDetails> &)Sets the details for encrypting the output PDF document.
set_ExportDocumentStructure(bool)Sets a value determining whether or not to export document structure.
set_ExportFloatingShapesAsInlineTag(bool)Sets a value determining whether floating shapes are exported as inline tags in the document structure.
set_ExportLanguageToSpanTag(bool)Sets a value determining whether or not to create a “Span” tag in the document structure to export the text language.
set_ExportParagraphGraphicsToArtifact(bool)Sets a value determining whether a paragraph graphic should be marked as an artifact.
set_FontEmbeddingMode(Aspose::Words::Saving::PdfFontEmbeddingMode)Specifies the font embedding mode.
set_GenerateFormFieldScripts(bool)Specifies whether to generate scripts that emulate specific Microsoft Word form field behavior in PDF. Default is false.
set_HeaderFooterBookmarksExportMode(Aspose::Words::Saving::HeaderFooterBookmarksExportMode)Determines how bookmarks in headers/footers are exported.
set_ImageColorSpaceExportMode(Aspose::Words::Saving::PdfImageColorSpaceExportMode)Specifies how the color space will be selected for the images in PDF document.
set_ImageCompression(Aspose::Words::Saving::PdfImageCompression)Specifies compression type to be used for all images in the document.
set_InterpolateImages(bool)A flag indicating whether image interpolation shall be performed by a conforming reader. When false is specified, the flag is not written to the output document and the default behaviour of reader is used instead.
set_JpegQuality(int32_t)Sets a value determining the quality of the JPEG images inside PDF document.
set_OpenHyperlinksInNewWindow(bool)Sets a value determining whether hyperlinks in the output Pdf document are forced to be opened in a new window (or tab) of a browser.
set_PageLayout(Aspose::Words::Saving::PdfPageLayout)Specifies the page layout to be used when the document is opened in a PDF reader.
set_PageMode(Aspose::Words::Saving::PdfPageMode)Specifies how the PDF document should be displayed when opened in a PDF reader.
set_PreblendImages(bool)Sets a value determining whether or not to preblend transparent images with black background color.
set_PreserveFormFields(bool)Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false.
set_RenderChoiceFormFieldBorder(bool)Specifies whether to render PDF choice form field border.
set_SaveFormat(Aspose::Words::SaveFormat) overrideSpecifies the format in which the document will be saved if this save options object is used. Can only be Pdf.
set_TextCompression(Aspose::Words::Saving::PdfTextCompression)Specifies compression type to be used for all textual content in the document.
set_UseBookFoldPrintingSettings(bool)Sets a boolean value indicating whether the document should be saved using a booklet printing layout, if it is specified via MultiplePages.
set_UseCoreFonts(bool)Sets a value determining whether or not to substitute TrueType fonts Arial, Times New Roman, Courier New and Symbol with core PDF Type 1 fonts.
set_UseSdtTagAsFormFieldName(bool)Specifies whether to use SDT control Tag or Id property as a name of form field in PDF.
set_ZoomBehavior(Aspose::Words::Saving::PdfZoomBehavior)Sets a value determining what type of zoom should be applied when a document is opened with a PDF viewer.
set_ZoomFactor(int32_t)Sets a value determining zoom factor (in percentages) for a document.
Equals(System::SharedPtr<System::Object>) overrideDetermines whether the specified object is equal in value to the current object.
get_ColorMode() constGets or sets a value determining how colors are rendered.
get_JpegQuality() constGets or sets a value determining the quality of the JPEG images inside Html document.
get_MetafileRenderingOptions() constAllows to specify metafile rendering options.
get_NumeralFormat() constGets or sets NumeralFormat used for rendering of numerals. European numerals are used by default.
virtual get_OptimizeOutput()Flag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formatting are concatenated. Note: The accuracy of the content display may be affected if this property is set to true. Default is false.
get_PageSavingCallback() constAllows to control how separate pages are saved when a document is exported to fixed page format.
get_PageSet() constGets or sets the pages to render. Default is all the pages in the document.
set_ColorMode(Aspose::Words::Saving::ColorMode)Sets a value determining how colors are rendered.
set_JpegQuality(int32_t)Sets a value determining the quality of the JPEG images inside Html document.
set_MetafileRenderingOptions(const System::SharedPtr<Aspose::Words::Saving::MetafileRenderingOptions> &)Allows to specify metafile rendering options.
set_NumeralFormat(Aspose::Words::Saving::NumeralFormat)Sets NumeralFormat used for rendering of numerals. European numerals are used by default.
virtual set_OptimizeOutput(bool)Flag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formatting are concatenated. Note: The accuracy of the content display may be affected if this property is set to true. Default is false.
set_PageSavingCallback(const System::SharedPtr<Aspose::Words::Saving::IPageSavingCallback> &)Allows to control how separate pages are saved when a document is exported to fixed page format.
set_PageSet(const System::SharedPtr<Aspose::Words::Saving::PageSet> &)Sets the pages to render. Default is all the pages in the document.
static CreateSaveOptions(Aspose::Words::SaveFormat)Creates a save options object of a class suitable for the specified save format.
static CreateSaveOptions(const System::String &)Creates a save options object of a class suitable for the file extension specified in the given file name.
get_AllowEmbeddingPostScriptFonts() constGets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false.
get_CustomTimeZoneInfo() constGets or sets custom local time zone used for date/time fields.
get_DefaultTemplate() constGets or sets path to default template (including filename). Default value for this property is empty string.
get_Dml3DEffectsRenderingMode() constGets or sets a value determining how 3D effects are rendered.
virtual get_DmlEffectsRenderingMode()Gets or sets a value determining how DrawingML effects are rendered.
get_DmlRenderingMode() constGets or sets a value determining how DrawingML shapes are rendered.
get_ExportGeneratorName() constWhen true, causes the name and version of Aspose.Words to be embedded into produced files. Default value is true.
get_ImlRenderingMode() constGets or sets a value determining how ink (InkML) objects are rendered.
get_MemoryOptimization() constGets or sets value determining if memory optimization should be performed before saving the document. Default value for this property is false.
get_PrettyFormat() constWhen true, pretty formats output where applicable. Default value is false.
get_ProgressCallback() constCalled during saving a document and accepts data about saving progress.
virtual get_SaveFormat()Specifies the format in which the document will be saved if this save options object is used.
get_TempFolder() constSpecifies the folder for temporary files used when saving to a DOC or DOCX file. By default, this property is null and no temporary files are used.
get_UpdateAmbiguousTextFont() constDetermines whether the font attributes will be changed according to the character code being used.
get_UpdateCreatedTimeProperty() constGets or sets a value determining whether the CreatedTime property is updated before saving. Default value is false;
get_UpdateFields() constGets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.
get_UpdateLastPrintedProperty() constGets or sets a value determining whether the LastPrinted property is updated before saving.
get_UpdateLastSavedTimeProperty() constGets or sets a value determining whether the LastSavedTime property is updated before saving.
get_UpdateOleControlImages() constGets a value determining whether OLE controls presentation image will be updated.
get_UseAntiAliasing() constGets or sets a value determining whether or not to use anti-aliasing for rendering.
get_UseHighQualityRendering() constGets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms.
set_AllowEmbeddingPostScriptFonts(bool)Sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false.
set_CustomTimeZoneInfo(const System::SharedPtr<System::TimeZoneInfo> &)Sets custom local time zone used for date/time fields.
set_DefaultTemplate(const System::String &)Sets path to default template (including filename). Default value for this property is empty string.
set_Dml3DEffectsRenderingMode(Aspose::Words::Saving::Dml3DEffectsRenderingMode)Sets a value determining how 3D effects are rendered.
virtual set_DmlEffectsRenderingMode(Aspose::Words::Saving::DmlEffectsRenderingMode)Sets a value determining how DrawingML effects are rendered.
set_DmlRenderingMode(Aspose::Words::Saving::DmlRenderingMode)Sets a value determining how DrawingML shapes are rendered.
set_ExportGeneratorName(bool)When true, causes the name and version of Aspose.Words to be embedded into produced files. Default value is true.
set_ImlRenderingMode(Aspose::Words::Saving::ImlRenderingMode)Sets a value determining how ink (InkML) objects are rendered.
set_MemoryOptimization(bool)Sets value determining if memory optimization should be performed before saving the document. Default value for this property is false.
set_PrettyFormat(bool)When true, pretty formats output where applicable. Default value is false.
set_ProgressCallback(const System::SharedPtr<Aspose::Words::Saving::IDocumentSavingCallback> &)Called during saving a document and accepts data about saving progress.
virtual set_SaveFormat(Aspose::Words::SaveFormat)Specifies the format in which the document will be saved if this save options object is used.
set_TempFolder(const System::String &)Specifies the folder for temporary files used when saving to a DOC or DOCX file. By default, this property is null and no temporary files are used.
set_UpdateAmbiguousTextFont(bool)Determines whether the font attributes will be changed according to the character code being used.
set_UpdateCreatedTimeProperty(bool)Sets a value determining whether the CreatedTime property is updated before saving. Default value is false;
set_UpdateFields(bool)Sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.
set_UpdateLastPrintedProperty(bool)Sets a value determining whether the LastPrinted property is updated before saving.
set_UpdateLastSavedTimeProperty(bool)Sets a value determining whether the LastSavedTime property is updated before saving.
set_UpdateOleControlImages(bool)Sets a value determining whether OLE controls presentation image will be updated.
set_UseAntiAliasing(bool)Sets a value determining whether or not to use anti-aliasing for rendering.
set_UseHighQualityRendering(bool)Sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms.

See Also