二维码
[ object, uuid(993B4B2E-A95C-4B43-B3B2-434D85022EBA), dual, nonextensible, pointer_default(unique) ] interface IMxDrawQrCode : IMxDrawEntity;
MxDrawQrCode.idl
例如: C#代码
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); }