HOW TO
This sample code displays a layer's property sheet using VBA. You can use Step 3 to show all the property pages for a layer, or Step 4 to show just a specific property page.
Code:
Dim pSheet As IComPropertySheet
Set pSheet = New esriCore.ComPropertySheet
Dim pPset As esriCore.ISet
Set pPset = New esriCore.Set
pPset.Add pLayer
Code:
pSheet.ActivePage = 4
pSheet.EditProperties pPset, 0
Code:
Dim page As IPropertyPage
Set page = New LayerDrawingPropertyPage
pSheet.AddCategoryID New UID
pSheet.AddPage page
pSheet.EditProperties pPset, 0
Article ID:000002685
Get help from ArcGIS experts
Download the Esri Support App