コード例 #1
0
        private void QrPicture_PrintPage(object sender, PrintPageEventArgs e) // Print Info Delegates
        {
            Bitmap printedQR = new Bitmap(QR.Width, QR.Height);

            QR.DrawToBitmap(printedQR, new Rectangle(0, 0, QR.Width, QR.Height));
            e.Graphics.DrawImage(printedQR, 0, 0);
        }