Global
WebDocument.Global property
Returns global storage of the document. Read-only Storage.
public Storage Global { get; }
Examples
Using this Global property (implementation of Storage interface) a property can be put to use it later in the template:
[C#]
var options = new WebDocumentOptions
{
    TemplateEngine = new RazorTemplateEngine(),
    OutputSaver = new FileOutputSaver(),
    EmbedImages = false
};
WebDocument document = new WebDocument(options);
// put "slideMargin" property to use from templates
document.Global.Put("slideMargin", 10);
// ... set up other options of the document and then save the document
document.Save();
See Also
- class Storage
- class WebDocument
- namespace Aspose.Slides.Export.Web
- assembly Aspose.Slides