PdfSaveOptions Class
Allows to specify additional options when rendering diagram pages to PDF.
Inheritance Hierarchy
SystemObject
  Aspose.Diagram.SavingSaveOptions
    Aspose.Diagram.SavingRenderingSaveOptions
      Aspose.Diagram.SavingPdfSaveOptions

Namespace: Aspose.Diagram.Saving
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
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
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also