This document is archived and information here might be outdated.  Recommended version.


IStyleGalleryStorage Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IStyleGalleryStorage Interface

Provides access to members that manage the files used in the Style Gallery.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IStyleGalleryStorage is used to manage the styles that can then be edited using the IStyleGallery interface. Use the CanUpdate property to determine if the TargetFile is editable. Use AddFile and RemoveFile to move styles in and out of the gallery.

Members

Description
Method AddFile Adds a file to the Style Gallery.
Read-only property CanUpdate Indicates if the specified file can be updated.
Read-only property DefaultStylePath The default file path for searching for standard styles.
Read-only property File The file at the given index.
Read-only property FileCount The number of files in the Style Gallery.
Method RemoveFile Removes a file from the Style Gallery.
Read/write property TargetFile The target output file for adding, updating and removing items.

CoClasses that implement IStyleGalleryStorage

CoClasses and Classes Description
ServerStyleGallery The Server Style Gallery.
StyleGallery (esriFramework) The Style Gallery object.

See Also

IStyleGallery Interface | IStyleGalleryItem Interface

.NET Samples

Move a graphic along a path in ArcMap (Code Files: MapGraphicTrackExtension)