DiagramSaveOptions Class
Can be used to specify additional options when saving a diagram into Visio (VDX\VSX) format.
Inheritance Hierarchy
SystemObject
  Aspose.Diagram.SavingSaveOptions
    Aspose.Diagram.SavingDiagramSaveOptions

Namespace: Aspose.Diagram.Saving
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
Syntax
public class DiagramSaveOptions : SaveOptions

The DiagramSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodDiagramSaveOptions
Initializes a new instance of this class that can be used to save a diagram in the VDX format.
Public methodDiagramSaveOptions(SaveFileFormat)
Initializes a new instance of this class that can be used to save a diagram in the VDX or VSX format.
Properties
  NameDescription
Public propertyAutoFitPageToDrawingContent
Defines whether need enlarge page to fit drawing content or not.
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 propertySaveFormat
Specifies the format in which the rendered diagram will be saved if this save options object is used. Can be VDX or VSX.
(Overrides SaveOptionsSaveFormat.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks
At the moment provides only the SaveFormat property, but in the future will have other options added.
See Also