Name
ManualArrangeGetWaste2
When to use it
During the OnAfterManualArrange event.
Prototype
HRESULT ManualArrangeGetWaste2(
Index: long /*[in]*/,
TopX: long /*[out]*/,
TopY: long /*[out]*/,
BottomX: long /*[out]*/,
BottomY: long /*[out]*/,
TrimTop: long /*[out]*/,
TrimLeft: long /*[out]*/,
TrimBottom: long /*[out]*/,
TrimRight: long /*[out]*/,
IsFullTrim: long /*[out]*/,
);
Explanations
This method returns information about an waste rectangle which was obtained after manual arrange.
The number of waste rectangles is obtained using the property ManualArrangeNumberOfWastes.
Parameters
Index - the index of the waste piece whose information are extracted. This number is in range [0...ManualArrangeNumberOfWastes - 1].
TopX, TopY, BottomX and BottomY are the coordinates of the top-left and bottom-right corners of the current waste.
Trim* are the trim values of margins for the current waste.
IsFullTrim specify if this waste is only trim.
See Also:
How to arrange pieces manually, ManualArrangeNumberOfWastes, ManualArrangeSetWaste, ManualArrangeSetWaste2, ManualArrangeGetWaste, OnAfterManualArrange.
Links