GetRegionMatrixValue  Method

Description         Returns the value at a specified (X,Y) coordinate in the specified region matrix. It’s important that if a matrix is Width*Height sized, than X coordinates are in the range of 0..Width-1 and Y coordinates are in the range of 0..Height-1.

Syntax                 sRet = [BIVision.]GetRegionMatrixValue RegionMatrix X Y

Remarks             sRet                        short                The value at the specified position of the input Region Matrix..

                            RegionMatrix        LONGLONG Source Region Matrix.

                            X                             short                X coordinate.

                            Y                             short                Y coordinate.

See Also