SetStockVertex
Name
SetStockVertex
When to use it
After setting the sizes using the SetStock method and before the OnFinish event ends.
Prototype
SetStockVertex(
IndexPiece : long/*[in]*/,
IndexVertex: long /*[in]*/,
X: double /*[in]*/,
Y: double /*[in]*/,
UserDefinedData: long/*[in]*/
);
Explanations
Sets the coordinates of each vertex of the polygon representing the sheet. Vertices MUST be given in counter-clock direction.
Parameters
IndexPiece - index of the sheet whose vertices are to be set.
IndexVertex - index of the vertex whose coordinates are set.
X, Y - the coordinates of vertex.
UserDefinedData- an user defined value.
See also