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); } |