Text GetBarNumber

From MultiCharts
Jump to navigation Jump to search

Returns a numerical value representing the barnumber of the text object with a specified ID.

Usage

text_getbarnumber(ref);

Parameters

  • Ref – ID of the text object;

Example

Get the number of the bar where a text object with ID = 1 is placed.

text_getbarnumber(1);