function Transparent() { var sImageFile1 = mxOcx.GetOcxAppPath() + "\\mxcad.jpg"; var lId = mxOcx.DrawImageMark(0, 0, 1, 0, sImageFile1, "", true); // 设置图片的透明度 var imageMark=mxOcx.ObjectIdToObject(lId); var param = mxOcx.NewResbuf(); param.AddLong(50); imageMark.SetProp("setTransparent",param); mxOcx.ZoomAll(); mxOcx.UpdateDisplay(); }
使用道具 举报
本版积分规则 回帖后跳转到最后一页
手机版|Mammoth Forum - Ride on Dreams, Live Up to Youth
GMT+8, 2026-1-13 13:28
Powered by 梦马论坛-以梦为马,不负韶华
© 2024-2099 Meng.Horse