Adjust height is width of Qr Coder using Messagingtoolkit.Qrcode C#

Asked

Viewed 190 times

4

Is there any way to adjust the height is width? thanks

        public void GerarQrCode(string NomeImagem,string Data)
        {
            QRCodeEncoder encoder = new QRCodeEncoder();
            Bitmap img = encoder.Encode("www.teste.com.br");
            var path = Server.MapPath("~/Content/images/");
            img.Save(path + NomeImagem + ".jpg", ImageFormat.Jpeg);
        }

1 answer

2


Browser other questions tagged

You are not signed in. Login or sign up in order to post.