GetStockBoundingBox

Name

 

            GetStockBoundingBox

 

When to use it

 

            After setting the sizes using the SetStock, SetStockVertex and SetStockArc methods and before the OnFinish event ends.

 

Prototype

 

GetStockBoundingBox(

            IndexStock: long /*[in]*/,

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

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

            MaxX: double/*[out]*/,

            MaxY: double/*[out]*/

);

 

Explanations

 

            Returns the bounding box of a stock piece.

 

Parameters

 

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

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

 

See also

 

        SetStock, SetStockVertex, SetStockArc, GetPartBoundingBox.