MultiLine QrCode #293
Answered
by
codebude
Vcarreon439
asked this question in
Q&A
-
Is there a type of Qr Code in this library that allows multiline info? |
Beta Was this translation helpful? Give feedback.
Answered by
codebude
May 16, 2021
Replies: 1 comment 1 reply
-
Just add a linebreak (\n) into the payload string: string payload = "first line\nsecond Line";
QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode(payload, QRCodeGenerator.ECCLevel.Q);
QRCode qrCode = new QRCode(qrCodeData);
Bitmap qrCodeImage = qrCode.GetGraphic(20); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
codebude
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just add a linebreak (\n) into the payload string: