PdfSaveOptions Class

Allows to specify additional options when rendering diagram pages to PDF.
Inheritance Hierarchy

Namespace:  Aspose.Diagram.Saving
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.7.0.0 (20.7)
Syntax
public class PdfSaveOptions : RenderingSaveOptions

The PdfSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodPdfSaveOptions
Initializes a new instance of this class that can be used to save a document in the Pdf format.
Properties
  NameDescription
Public propertyArea
Gets or sets the area of the shapes will be saved .
(Inherited from RenderingSaveOptions.)
Public propertyCompliance
Desired conformance level for generated PDF document. Default is Pdf15.
Public propertyDefaultFont
When characters in the diagram are unicode and not be set with correct font value or the font is not installed locally, they may appear as block in pdf, image or XPS. Set the DefaultFont such as MingLiu or MS Gothic to show these characters.
(Inherited from SaveOptions.)
Public propertyDigitalSignatureDetails
Gets or sets a digital signature details. If not set, then no signing will be performed.
Public propertyEncryptionDetails
Gets or sets a encryption details. If not set, then no encryption will be performed.
Public propertyEnlargePage
Specifies whether enlarge page .
(Inherited from RenderingSaveOptions.)
Public propertyExportGuideShapes
Defines whether need exporting the guide shapes or not.
(Inherited from RenderingSaveOptions.)
Public propertyExportHiddenPage
Defines whether need exporting the hidden page or not.
Public propertyHorizontalResolution
Gets or sets the horizontal resolution for generated images, in dots per inch. Applies generating image method except Emf format images.
Public propertyIsExportComments
Defines whether need exporting the comments or not.
(Inherited from RenderingSaveOptions.)
Public propertyJpegQuality
Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.
Public propertyPageCount
Gets or sets the number of pages to render in PDF. Default is MaxValue which means all pages of the diagram will be rendered.
Public propertyPageIndex
Gets or sets the 0-based index of the first page to render. Default is 0.
Public propertyPageSavingCallback
Control/Indicate progress of page saving process.
Public propertyPageSize
Gets or sets the page size for the generated images. Can be PageSize or null.
(Inherited from RenderingSaveOptions.)
Public propertySaveForegroundPagesOnly
Specifies whether all pages will be saved in image or only foreground.
Public propertySaveFormat
Specifies the format in which the rendered diagram pages will be saved if this save options object is used. Can be PDF only.
(Overrides SaveOptionsSaveFormat.)
Public propertyShapes
Gets or sets shapes to render. Default count is 0.
(Inherited from RenderingSaveOptions.)
Public propertySplitMultiPages
Defines whether split digram to multi pages according to page's setting.
Public propertyTextCompression
Specifies compression type to be used for all content streams except images. Default is [!:PdfTextCompressionCore.Flate].
Public propertyVerticalResolution
Gets or sets the vertical resolution for generated images, in dots per inch. Applies generating image method except Emf format image.
Public propertyWarningCallback
Gets or sets warning callback.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also