Type

Retorna o identificador do tipo objeto gráfico

virtual int  Type() const

Valor de retorno

Identificador do tipo objeto (por exemplo, para OBJ_ARROW CChartObjectArrow)

Exemplo

//--- example for CChartObjectArrow::Type   
#include <ChartObjects\ChartObjectsArrows.mqh>   
//---   
void OnStart()   
  {   
   CChartObjectArrow arrow;   
   //--- get arrow type   
   int type=arrow.Type();   
  }