GetShapeNoById

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Methods >

GetShapeNoById

function GetShapeNoById(AShapeId:Cardinal): Integer;

 

Description:

 

Know a shape's ID ,  Get the shape no.

 

 

Return Value:

 

 if Id is not exist, return -1;

 

Example:

 

 ANo := MyCAD1.GetShapeNoById(0);

 

See Also:

 

GetShapeByName

GetShapeByNo