GetLayerIdByNo
<< Click to Display Table of Contents >> Navigation: TMyCAD > Methods > GetLayerIdByNo |
function GetLayerIdByNo(ALayerNo: integer): integer;
Description:
Get layer's Id by No, if do not match No, return -1;
Sample:
procedure Form1.Button1Click(Send:TObject)
var
a:integer;
begin
a:=GetLayerIdByNo(4);
ShowMessage(' The Layers No is:'+'4' +' its layer Id is: '+Inttostr(a));
end;
See Also: