Type

Grafik nesnesinin tipini alır.

virtual int  Type() const

Dönüş değeri

Nesne tipi tanımlayıcısı (örneğin CChartObjectArrow için OBJ_ARROW)

Örnek:

//--- CChartObjectArrow::Type için bir örnek  
#include <ChartObjects\ChartObjectsArrows.mqh>   
//---   
void OnStart()   
  {   
   CChartObjectArrow arrow;   
   //--- ok tipini al   
   int type=arrow.Type();   
  }