Class XAMLSaveOptions

XAMLSaveOptions class

Allows to specify additional options when rendering diagram pages to XAML.

public class XAMLSaveOptions : SaveOptions

Constructors

NameDescription
XAMLSaveOptions()Initializes a new instance of this class that can be used to save a document in the XAML format.

Properties

NameDescription
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.
PageCount { get; set; }Gets or sets the number of pages to render in XAML. Default is MaxValue which means all pages of the diagram will be rendered.
PageIndex { get; set; }Gets or sets the 0-based index of the first page to render. Default is 0.
SaveForegroundPagesOnly { get; set; }Specifies whether all pages will be saved in image or only foreground.
override SaveFormat { get; set; }Specifies the format in which the rendered diagram pages will be saved if this save options object is used. Can be XAML only.
StreamProvider { get; set; }Gets or sets the IStreamProvider for exporting objects.
WarningCallback { get; set; }Gets or sets warning callback.

See Also