iTextSharp.text.pdf.qrcode.QRCode.At C# (CSharp) Method

At() public method

public At ( int x, int y ) : int
x int
y int
return int
        public int At(int x, int y) {
            // The value must be zero or one.
            int value = matrix.Get(x, y);
            if (!(value == 0 || value == 1)) {
                // this is really like an assert... not sure what better exception to use?
                throw new ArgumentException("Bad value");
            }
            return value;
        }