UtilizedStock
Name
UtilizedStock
When to use it
During the OnFinish event.
Prototype
UtilizedStock(
long StockIndex /*[in]*/,
long Type /*[out]*/,
long SheetIndex /*[out]*/,
long StockUserDefinedData /*[out]*/
);
Explanations
Specify whether the StockIndexth piece of the Stock has been utilized or not.
Parameters
StockIndex - index of the stock piece (between 0 and NumberOfStockPieces - 1).
Type - type of the stock piece (0 if polygon, 1 if circle).
SheetIndex - the sheet index where this stock piece is used (between 0 and TotalNumberOfUtilizedStock). If the StockIndex piece is not used the SheetIndex has value equal to NumberOfStockPieces.
StockUserDefinedData - an user defined value attached to the stock piece.
See also