GetUtilizedRepositoryPiece



Name


            GetUtilizedRepositoryPiece


When to use it


            During the OnFinish event.


Prototype


HRESULT GetUtilizedRepositoryPiece(

            SheetIndex: long /*[in]*/,

            RepositoryIndex: long /*[out]*/,

            RepositoryExternalID: long /*[out]*/

);


Explanations


            This method returns information about an utilized piece from Repository.

            The number of utilized Repository pieces is obtained using the property TotalNumberOfUtilizedRepositoryPieces.


Parameters


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

            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:


            RepositoryPieceUtilized, SetRepositoryPiece, GetRepositoryPiece, OnFinish.



Links

       back to index

       www.optimalprograms.com