Type

Erhält die Identifikator des Typs eines grafischen Objektes.

virtual int  Type() const

Rückgabewert

Identifikator des Objekttyps (für CChartObjectArrow – OBJ_ARROW).

Beispiel:

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