RectangleDelete

From MultiCharts
Jump to navigation Jump to search

Removes a rectangle with the specified ID number from a chart; returns a value of 0 if the rectangle was successfully removed, and a value of -2 if the specified rectangle ID number is invalid.

Usage

RectangleDelete(TL_ID)

Where:

TL_ID - a numerical expression specifying the rectangle ID number

Notes

A rectangle ID number is returned by RectangleNew when the rectangle is created.

Example

Remove the rectangle with an ID number of 4:

Value1=RectangleDelete(4);