Set color by using Color-class typesīitmap qrCodeImage = qrCode.GetGraphic(20, Color.DarkRed, Color.PaleGreen, true) One uses Color-class-types, the other HTML hex color notation. The first two enable you to set the color of the QR code graphic. The GetGraphics-method has some more overloads. Using (QRCode qrCode = new QRCode(qrCodeData))īitmap qrCodeImage = qrCode.GetGraphic(20) Using (QRCodeData qrCodeData = qrGenerator.CreateQrCode("The text which should be encoded.", )) using (QRCodeGenerator qrGenerator = new QRCodeGenerator()) You only need four lines of code, to generate and view your first QR code. The release notes for the current and all past releases can be read here: □ Release Notes Usage / Quick start Here you can find a detailed documentation of the QRCoder and its functions. □ Your first place to go should be our wiki. It hasn't any dependencies to other libraries and is available as. QRCoder is a simple library, written in C#.NET, which enables you to create QR codes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |