GetPartBoundingBox

Name

 

            GetPartBoundingBox

 

When to use it

 

            After setting the sizes using the SetPart, SetPartVertex and SetPartArc methods and before the OnFinish event ends.

 

Prototype

 

GetPartBoundingBox(

            IndexPart: long /*[in]*/,

            MinX,: double/*[out]*/,

            MinY,: double/*[out]*/,

            MaxX: double/*[out]*/,

            MaxY: double/*[out]*/

);

 

Explanations

 

            Returns the bounding box of a part.

 

Parameters

 

            IndexPart - index of the piece whose vertices are to be get.

            MinX, MaxX, MinY, MaxY - the bounding box.

 

See also

 

    SetPart, SetPartVertex, SetPartArc, GetStockBoundingBox.