Type

Restituisce il tipo d'identificatore dell'oggetto grafico.

virtual int  Type() const

Valore di ritorno

Idendificatore del tipo di oggetto (ad esempio, OBJ_ARROW per CChartObjectArrow)

Esempio:

//--- esempio per CChartObjectArrow::Type  
#include <ChartObjects\ChartObjectsArrows.mqh>   
//---   
void OnStart()   
  {   
   CChartObjectArrow arrow;   
   //--- ottiene il tipo arrow   
   int type=arrow.Type();   
  }