Class DiagramSaveOptions

DiagramSaveOptions class

Can be used to specify additional options when saving a diagram into Visio (VDX\VSX) format.

public class DiagramSaveOptions : SaveOptions

Constructors

NameDescription
DiagramSaveOptions()Initializes a new instance of this class that can be used to save a diagram in the VDX format.
DiagramSaveOptions(SaveFileFormat)Initializes a new instance of this class that can be used to save a diagram in the VDX or VSX format.

Properties

NameDescription
virtual AutoFitPageToDrawingContent { get; set; }Defines whether need enlarge page to fit drawing content or not.
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.
override SaveFormat { get; set; }Specifies the format in which the rendered diagram will be saved if this save options object is used. Can be VDX or VSX.
WarningCallback { get; set; }Gets or sets warning callback.

Remarks

At the moment provides only the SaveFormat property, but in the future will have other options added.

See Also