GetLayerNameByID

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Methods >

GetLayerNameByID

function GetLayerNameByID(ALayerId: integer): string;

 

 

 

Description:

 

    Get  layer's Name using  it's Id , if do not match id, return '';

 

Sample:

 

procedure Form1.Button1Click(Send:TObject)

begin

 ShowMessage(' The Layers Id is:'+'8' +' Name is: '+GetLayerNameByID(8);

end;

 

See Also:

 

GetLayerIdByName

GetLayerNobyId