GetMaxLayerId

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Methods >

GetMaxLayerId

function GetMaxLayerId(): integer;

 

 

Description:

 

    Get max layer's Id, It is not the count of layers,if there is no layer existed,it return -1.

 

Example:

 

procedure Form1.Button1Click(Send:TObject)

begin

 ShowMessage(' The max layer Id is  '+Inttostr(MyCAD1.GetMaxLayerID));

end;

 

See Also:

 

GetLayersCount