BreakApart [Overlays]

BreakApart ungroups the specified overlay into a stand-alone map. Returns a MapFrame object.

Syntax

object.BreakApart( pOverlay )

Parameter

Type

Default

Description

pOverlay

Shape object

required; this provides the shape object (any kind of map derived from the shape object) on which the method is implemented.

Example

This example demonstrates how to break apart a contour map from the Overlays collection and assign it to a new map coordinate system named MapFrame2.

Dim MapFrame2 As Object

Set MapFrame2 = Overlays.BreakApart(pOverlay:=ContourLayer)

Used by: Overlays collection