XamlOptions class

Options that control how a XAML document is saved.

public class XamlOptions : SaveOptions, IXamlOptions


Name Description
XamlOptions() Creates the XamlOptions instance.


Name Description
DefaultRegularFont { get; set; } Returns or sets font used in case source font is not found. Read-write String.
ExportHiddenSlides { get; set; } Determines whether hidden slides will be exported.
OutputSaver { get; set; } Represents an implementation of IOutputSaver interface.
ProgressCallback { get; set; } Represents a callback object for saving progress updates in percentage. See IProgressCallback.
WarningCallback { get; set; } Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.


using (Presentation pres = new Presentation("pres.pptx"))
	pres.Save(new XamlOptions { ExportHiddenSlides = true });

See Also