WebExtensionStoreType Enumeration |
Enumerates available types of a web extension store.
Namespace:
Aspose.Words.WebExtensions
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic enum WebExtensionStoreType
Public Enumeration WebExtensionStoreType
public enum class WebExtensionStoreType
type WebExtensionStoreType
Members
| Member name | Value | Description |
---|
| SPCatalog | 0 |
Specifies that the store type is SharePoint corporate catalog.
|
| OMEX | 1 |
Specifies that the store type is Office.com.
|
| SPApp | 2 |
Specifies that the store type is a SharePoint web application.
|
| Exchange | 3 |
Specifies that the store type is an Exchange server.
|
| FileSystem | 4 |
Specifies that the store type is a file system share.
|
| Registry | 5 |
Specifies that the store type is the system registry.
|
| ExCatalog | 6 |
Specifies that the store type is Centralized Deployment via Exchange.
|
| Default | 0 |
Default value.
|
ExamplesShows how to create add-ins inside the document.
Document doc = new Document();
TaskPane myScriptTaskPane = new TaskPane();
doc.WebExtensionTaskPanes.Add(myScriptTaskPane);
myScriptTaskPane.DockState = TaskPaneDockState.Right;
myScriptTaskPane.IsVisible = true;
myScriptTaskPane.Width = 300;
myScriptTaskPane.IsLocked = true;
myScriptTaskPane.Row = 1;
myScriptTaskPane.WebExtension.Reference.Id = "WA104380646";
myScriptTaskPane.WebExtension.Reference.Version = "1.0.0.0";
myScriptTaskPane.WebExtension.Reference.StoreType = WebExtensionStoreType.OMEX;
myScriptTaskPane.WebExtension.Reference.Store = "en-us";
myScriptTaskPane.WebExtension.Properties.Add(new WebExtensionProperty("MyScript", "MyScript Math Sample"));
myScriptTaskPane.WebExtension.Bindings.Add(new WebExtensionBinding("Binding1", WebExtensionBindingType.Text, "104380646"));
myScriptTaskPane.WebExtension.IsFrozen = false;
doc.Save(ArtifactsDir + "Document.WebExtension.docx");
See Also