PlaceCategories property
Returns the PlaceCategories collection for the specified map, which contains the available point of interest categories. Read-only.
Applies to
Objects: Map
Syntax
object.PlaceCategories
Parameters
Part |
Description |
---|---|
object |
Required. An expression that returns a Map object. |
Example
Sub UsePlaceCategoriesProperty()
Dim objApp As New MapPoint.Application
'Set up the application
objApp.Visible = True
objApp.UserControl = True
'Use the PlaceCategories property of the map
' to make them all visible
objApp.ActiveMap.PlaceCategories.Visible = geoTrue
End Sub