This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IStyleGallery Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members modify the Style Gallery.
IStyleGallery is used to access styles, add new items with AddItem, remove items with RemoveItem, make updates with UpdateItem and save your changes with SaveStyle. Styles provide storage for your colors, map elements, symbols, and properties of symbols.
Description | ||
---|---|---|
AddItem | Adds an item to the target style file. | |
Categories | The categories within the given class. | |
Class | The class at the given index. | |
ClassCount | Number of classes in the Style Gallery. | |
Clear | Removes all styles from the Style Gallery. | |
ImportStyle | Imports a style from a file other than a .style file. | |
Items | The style items from the specified style file, in the specified class and category. The style set and category may be blank to return all items. | |
LoadStyle | Loads a style from a file. If class is specified, only items in that class will be loaded. | |
RemoveItem | Removes an item from the target style file. | |
SaveStyle | Saves the specified style to a file. If class is specified, only items in that class will be saved. | |
UpdateItem | Updates an existing item in target style file. |
CoClasses and Classes | Description |
---|---|
ServerStyleGallery | The Server Style Gallery. |
StyleGallery (esriFramework) | The Style Gallery object. |
IStyleGalleryItem Interface | IStyleGalleryStorage Interface