This document is archived and information here might be outdated. Recommended version. |
GxView that represents the metadata view.
Interfaces | Description |
---|---|
IGxCatalogEvents (esriCatalog) | Provides access to events that the catalog can fire. |
IGxDocumentationView | Provides access to members that edit metadata. |
IGxSelectionEvents (esriCatalog) | Provides access to events that the ArcCatalog selection can fire. |
IGxView | Provides access to members that control the GxView. |
IGxViewPrint | Provides access to members that control the printing of a GxView object. |
The metadata view in ArcCatalog is represented by GxDocumentationView. Since it is a GxView, it naturally supports IGxView. However, to manipulate it, you will want to work with IGxDocumentationView. This interface allows you to do three things: edit the metadata using a custom editor through Edit, edit the metadata properties with a default editor via EditProperties, and force the metadata to be updated with respect to the object's current attributes, through Synchronize. To build a custom editor, you will need to create an object that implements IMetadataEditor, and inform the metadata extension object to use it, through its IMetadataHelper::Editor property.
GxDocumentationView also implements IGxViewPrint, to enable you to print the nice formatted metadata.
The GxDocumentationView CoClass requires the Microsoft .NET Framework 3.0 or higher and the Windows Presentation Foundation (WPF) Toolkit to be installed. The WPFToolkit.dll must be referenced.