以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]专业报表如何显示在线图片 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=110033) |
-- 作者:188802386 -- 发布时间:2017/11/24 18:31:00 -- [求助]专业报表如何显示在线图片 如题 专业报表如何显示网页图片,难道非要下载下来才可以看吗 rm = New prt.RenderImage
rm.Image = GetImage("https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511529445194&di=668899897873e926053debc7b62cf78d&imgtype=0&src=http%3A%2F%2Fp7.qhimg.com%2Ft01ed54b700e60bd09f.jpg") \'设置图片 rm.x = 18 rm.y = 122 rm.Width = 100 rm.Height = 72 rm.Style.ImageAlign.KeepAspectRatio = False \'拉伸图片时,是否保持原始纵横比例 rm.Style.Borders.All = New prt.Linedef(0.1, Color.OrangeRed) \'设置边框 Doc.body.Children.Add(rm) |
-- 作者:有点蓝 -- 发布时间:2017/11/24 20:16:00 -- 必须下载到本地 |