SaveOptions Class
This is an abstract base class for classes that allow the user to specify additional options when saving a diagram into a particular format.
Inheritance Hierarchy

Namespace: Aspose.Diagram.Saving
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntax
public abstract class SaveOptions

The SaveOptions type exposes the following members.

Constructors
  NameDescription
Protected methodSaveOptions
Hides the class constructor.
Properties
  NameDescription
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.
Public propertySaveFormat
Specifies the format in which the document will be saved if this save options object is used.
Public propertyWarningCallback
Gets or sets warning callback.
Methods
  NameDescription
Public methodStatic memberCreateSaveOptions
Creates a save options object of a class suitable for the specified save format.
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
An instance of the SaveOptions class or any derived class is passed to the stream Save or string Save overloads for the user to define custom options when saving a document.
See Also