+1 888 340 6572

RectangleGetAnchorToBars: Difference between revisions

From MultiCharts
(Created page with "Returns the value of the "anchor to bar" option of the rectangle drawing with a specified ID. == Usage == <syntaxhighlight>RectangleGetAnchorToBars(ID)</syntaxhighlight> Wh...")
 
 
Line 7: Line 7:


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


== Example ==
== Example ==

Latest revision as of 15:34, 19 August 2021

Returns the value of the "anchor to bar" option of the rectangle drawing with a specified ID.

Usage

RectangleGetAnchorToBars(ID)

Where:

ID - a numerical expression specifying the rectangle ID number

Notes

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

Example

Assign the "anchor to bars" option of the rectangle drawing with an ID number of 3 to the Condition1 variable:

Condition1=RectangleGetAnchorToBars(3);