SaveOptions class

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.

The SaveOptions type exposes the following members:

Properties

PropertyDescription
save_formatSpecifies the format in which the document will be saved if this save options object is used.
default_fontWhen 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.
warning_callbackGets or sets warning callback.

Methods

MethodDescription
create_save_options(save_format)

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