www.mxdraw.com
内容索引主面
前一个向上下一个
IMxDrawQrCode 接口

二维码

IDL
[ 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);
 }
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!