Project

General

Profile

QRCode - Index out of bound exception

Added by admin over 8 years ago

Hello, I love your library to generate qrcodes!

I am having an issue tho with a particular type of URL, some of my urls that are longer and contain many dashes are not encoding and throwing a Index is outside the bounds of the array exception, see below… any suggestion or update available ? I downloaded the 1.2.1.0 version on your site … this gets thrown right when I call qrCodeEncoder.Encode(data);

any help would be appresheated !! thank you !


Replies (2)

RE: QRCode - Index out of bound exception - Added by admin over 8 years ago

Hi,

Try changing the QRCodeVersion to 8 or above. It should work.

Thanks
admin

RE: QRCode - Index out of bound exception - Added by admin about 8 years ago

Hi,

You could also set QRCodeVersion to 0 so that it will automatically derive the version

Thanks
Regards
admin

    (1-2/2)