C#中实现代码说明: 1 2 3 4 5 6 7 8 9 10 11 12 13 private void DrawQrCode() { MxDrawUiPrPoint getPoint = new MxDrawUiPrPoint(); getPoint.message = "点取插入点:"; if (getPoint.go() != MCAD_McUiPrStatus.mcOk) return; MxDrawQrCode qrCode = new MxDrawQrCode(); qrCode.Center = getPoint.value(); qrCode.Text = "www.mxdraw.com"; qrCode.Scale = 20; qrCode.Rotation = 30 * 3.1415925 / 180.0; axMxDrawX1.DrawEntity(qrCode); } 效果展示: