ManualArrageGetWaste


Name


            ManualArrangeGetWaste


When to use it


            During the OnAfterManualArrange event.


Prototype


HRESULT ManualArrangeGetWaste(

           Index: long /*[in]*/,

            TopX: long /*[out]*/,

            TopY: long /*[out]*/,

            BottomX: long /*[out]*/,

            BottomY: 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 piece.


See Also:


        How to arrange pieces manually, ManualArrangeNumberOfWastes, ManualArrangeSetWaste, ManualArrangeSetWaste2, ManualArrangeGetWaste2, OnAfterManualArrange.



Links

       back to index

       www.optimalprograms.com