CutSurface

 

Name

 

            CutSurface

 

Type

 

            Read

 

When to use it

 

            You may use this method during the OnFinish event if the optimization methods were StartGuillotine or StartMultiStages.

 

Prototype

 

    HRESULT SurfaceCovered(

            SheetIndex: long /*[in]*/,

            CutSurface: double /*[out]*/,

            RepositoryIndex: long /*[out]*/,

            RepositoryExternalID: long /*[out]*/

    );

 

Explanations

 

            The surface eaten by the blade. This value is greater than 0 only if BladeWidth is greater than 0.

 

Parameters

 

            SheetIndex - the index of the layout whose information are extracted. This number is in range [0...TotalNumberOfUtilizedRepositoryPieces - 1].

            CutSurface - the surface eaten by the blade 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:

 

            BladeWidth, CutLength, GetCut, GetCutMultiStages, OnFinish.