SetRepositoryPiece

 

 

Name

 

            SetRepositoryPiece

 

When to use it

 

            After setting the NumberOfRepositoryPieces property and anytime before the OnFinish event ends.

 

Prototype

 

            HRESULT SetRepositoryPiece(

                        Index: Long/*[in]*/,

                        Length: Long/*[in]*/,

                        NumberOfBundles: Long/*[in]*/,

                        BundleSize: Long/*[in]*/,

                        MinBundleSizeToCut: Long/*[in]*/,

                        UseMinBundleSizeParameter: Long/*[in]*/,

                        Min2: Long/*[in]*/,

                        ExternalID: Long /*[in]*/

            );

 

Explanations

 

            With this method you may set the size of each piece from REPOSITORY (to cut from).

            The number of pieces to be cut is given by the NumberOfRepositoryPieces property.

            The length of each piece can be get using the GetRepositoryPiece method.

 

Parameters

 

            Index - the index of the piece whose information are set. This number is in range [0...NumberOfRepositoryPieces - 1].

            Length - the length of the piece. This number must be integer. For working with real numbers read here.

            NumberOfBundles - number of bundles available in your repository.

            BundleSize - the number of pieces in each bundle.

            MinBundleSizeToCut - minimal number of piece that you machine can cut once.

            UseMinBundleSizeParameter - ignore the previous parameter if your machine does not have such limit.

            Min2 -

            ExternalID is an integer number which is assigned to each piece in order to be easier identified.

 

 

Links

        back to index

        www.optimalprograms.com