XamlOptions

XamlOptions class

Options that control how a XAML document is saved.

public class XamlOptions : SaveOptions, IXamlOptions

Constructors

NameDescription
XamlOptions()Creates the XamlOptions instance.

Properties

NameDescription
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.
GradientStyle { get; set; }Returns or sets the visual style of the gradient. Read/write GradientStyle.
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.

Examples

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

See Also