GetShapebyID

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Methods >

GetShapebyID

function GetShapeByNo(AShapeNo:integer): TMyShape;

 

 

Description:

 

Know a shape's No ,  Get the shape.

 

 

Return Value:

 if AShapeNo is not exist, return nil;

 

Example:

 

 Shape1:= MyCAD1.GetShapeByNo(10);

 

See Also:

 

GetShapeByName

GetShapeByID