Share via


SizeVisible property

Returns or sets whether the size is displayed for the specified shape. If the shape is a drivetime zone, the SizeVisible property displays the duration of the drivetime zone. The shape must have an AutoShapeType property of geoShapeRadius, or a Type property of geoFreeform or geoLine. Read/write Boolean.

Applies to

Objects:  Shape

Syntax

object.SizeVisible

Parameters

Part Description
object Required. An expression that returns a Shape object.

Example

    Sub HideRadiusSizeLabel()

  Dim objApp As New MapPoint.Application   Dim objMap As MapPoint.Map   Dim objLoc As MapPoint.Location
  'Set up application and get a Location object   Set objMap = objApp.ActiveMap   objApp.Visible = True   objApp.UserControl = True   Set objLoc = objApp.ActiveMap.GetLocation(0, 0)
  'Create a radius shape and zoom in   Set objMap.Location = objLoc   objMap.Shapes.AddShape geoShapeRadius, objLoc, 20, 20
  'Now hide the size label of the radius   objMap.Shapes.Item(1).SizeVisible = False
  End Sub