NumberOfUtilizedDemandPieces

 

Name

 

            NumberOfUtilizedDemandPieces

 

Type

 

            Read

 

When to use it

 

            You may call this method during the OnFinish event.

            Otherwise the returned value is undefined.

 

Prototype

 

HRESULT NumberOfUtilizedDemandPieces(

            SheetIndex: long /*[in]*/,

            NumberOfUtilizedPieces: long /*[out]*/,

            RepositoryIndex: long /*[out]*/,

            RepositoryExternalID: long /*[out]*/

);

 

Explanations

 

            Returns the number of utilized pieces by one of the layouts.

 

Parameters

 

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

            NumberOfUtilizedPieces - the number of Demand pieces utilized in that layout.

            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:

 

            NumberOfDemandPieces, GetUtilizedDemandPiece, SetDemandPiece, GetDemandPiece, OnFinish