Visible property (PlaceCategories)

Returns or sets whether all the place categories are visible on the map. Read/write GeoTriState.

GeoTriState Value Description
geoFalse
0
No place categories are visible
geoTriStateMixed
-2
Some place categories in the collection are visible and some are hidden. This value can only be returned, not set.
geoTriStateToggle
-3
Toggles the visible place categories to hidden, and the hidden place categories to visible. This value can only be set, not returned.
geoTrue
-1
All place categories are visible

Applies to

Collections:  PlaceCategories

Syntax

object.Visible

Parameters

Part Description
object Required. An expression that returns a PlaceCategories collection.

Example

    Sub AllPlaceCategoriesVisible()

  Dim objApp As New MapPoint.Application
  'Set up application   objApp.Visible = True   objApp.UserControl = True
  'Make all place categories visible   objApp.ActiveMap.PlaceCategories.Visible = geoTrue
  End Sub