function GetLayersCount(): integer;





Description:


     How many layers in TMyCAD.


Sample:


procedure Form1.Button1Click(Send:TObject)

begin

 ShowMessage(' There are '+Inttostr(MyCAD1.GetLayersCount)+'lagers in TMyCAD1!');

end;


See Also:


GetShapesCount

GetShapesCountInALayer