ShowByType

 

The ShowByType method shows objects in the collection by their types.

 

Syntax

object.ShowByType( Area, Curve, Point, Text, Rectangle, RoundedRect, Square, Ellipse, Circle, Legend, ID1, ID2, Bitmap, Metafile, ScaleBar, ShowThemeOfHiddenShape )

 

Parameter

Type

Description

Area

Boolean

optional; true to show areas

Curve

Boolean

optional; true to show curves

Point

Boolean

optional; true to show points

Text

Boolean

optional; true to show text

Rectangle

Boolean

optional; true to show rectangles

RoundedRect

Boolean

optional; true to show rounded rectangles

Square

Boolean

optional; true to show squares

Ellipse

Boolean

optional; true to show ellipses

Circle

Boolean

optional; true to show circles

Legend

Boolean

optional; true to show legends

ID1

Boolean

optional; true to show primary IDs

ID2

Boolean

optional; true to show secondary IDs

Bitmap

Boolean

optional; true to show bitmaps

Metafile

Boolean

optional; true to show metafiles

ScaleBar

Boolean

optional; true to show scale bars

ShowThemeOfHiddenShape

Boolean

optional; true to show theme of hidden object

 

Example

This example displays curves, texts, squares, ellipses, and bitmaps.

 

MapShapes.ShowByType(Curve:=True, Text:=True, Square:=True, _

Ellipse:=True, Bitmap:=True)

 

Used by: Shapes collection