Type
Type
Returns graphical object type identifier.
virtual int Type() constReturn Value
Object type identifier (for example, OBJ_ARROW for CChartObjectArrow)
Example:
//--- example for CChartObjectArrow::Type
#include <ChartObjects\ChartObjectsArrows.mqh>
//---
void OnStart()
{
CChartObjectArrow arrow;
//--- get arrow type
int type=arrow.Type();
}Last updated on