WasteSurface
Name
WasteSurface
Type
Read
When to use it
You may use this method during the OnFinish event.
Prototype
HRESULT WasteSurface(
SheetIndex: long /*[in]*/,
Surface: double /*[out]*/,
RepositoryIndex: long /*[out]*/,
RepositoryExternalID: long /*[out]*/
);
Explanations
The surface of all waste rectangles.
Parameters
SheetIndex - the index of the layout whose information are extracted. This number is in range [0...TotalNumberOfUtilizedRepositoryPieces - 1].
Surface - the surface of the wastes in the current sheet.
RepositoryIndex - The index of the Repository piece which is utilized in the SheetIndex layout. RepositoryIndex is between 0 and NumberOfRepositoryPieces - 1.
RepositoryExternalID - an user defined value which was set by SetRepositoryPiece method.
See Also: