XamlOptions

XamlOptions constructor

Initializes a new instance of the XamlOptions class that can be used to save project in XAML format.

public XamlOptions()

Examples

Shows how to save a project in XAML format by using save options.

var project = new Project(DataDir + "Project2.mpp");
SaveOptions options = new XamlOptions();
options.FitContent = true;
options.LegendOnEachPage = false;
options.Timescale = Timescale.ThirdsOfMonths;
project.Save(OutDir + "RenderXAMLWithOptions_out.xaml", options);

See Also