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.

public abstract class SaveOptions


Name Description
virtual DefaultFont { get; set; } 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.
virtual SaveFormat { get; set; } Specifies the format in which the document will be saved if this save options object is used.
WarningCallback { get; set; } Gets or sets warning callback.


Name Description
static CreateSaveOptions(SaveFileFormat) Creates a save options object of a class suitable for the specified save format.


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