+1 888 340 6572

RectangleDelete: Difference between revisions

From MultiCharts
(Created page with "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...")
 
 
Line 7: Line 7:


== Notes ==  
== Notes ==  
A rectangle ID number is returned by RectangleNew when the rectangle is created.  
A rectangle ID number is returned by [[RectangleNew]] when the rectangle is created.


== Example ==
== Example ==

Latest revision as of 15:33, 19 August 2021

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);