Break

Break method breaks a polyline into two polylines at the specified coordinates.

Syntax

object. Break( X, Y )

Parameter

Type

Default

Description

X

Double

required; This provides the X coordinate where the line should be broken.

Y

Double

required; This provides the Y coordinate where the line should be broken.

Remarks

When the polyline is in the plot document, use page units to specify the X and Y parameter coordinates. When the polyline is in a vector base map, use the base map units to specify the X and Y parameter coordinates.

The X and Y coordinates do not have to fall directly on the polyline. Surfer will break the place nearest the specified X and Y.

Example

This example demonstrates how to break the polyline at the coordinate (4.5, 3.7).

Polyline.Break(X:=4.5, Y:=3.7)

Used by: Polyline Object