
office 插件
文章平均质量分 83
Alsmile
乐吾乐
le5le.com
展开
-
faceID 和 对应图标 查看
在word的宏中运行如下函数即可Sub ShowFaceIDs() Dim NewToolbar As CommandBar Dim NewButton As CommandBarButton Dim i As Integer, IDStart As Integer, IDStop As Integer ' Delete existing Fac转载 2012-02-15 11:15:29 · 3735 阅读 · 0 评论 -
office插件开发shapes.addpicture插入图片保存原始大小
// 就是最后两个参数(红色显示)传-1即可,在excel2007中验证通过,其他未验证。CComPtr pShape = pShapes->AddPicture(bstrPicName, msoFalse, msoCTrue, 0, 0,-1, -1); 项目中,需要向office中插入一个图片,但是同事的代码总是会有缩放,不是原始大小。我查看了他的代码,最后两个参数写原创 2014-02-28 11:12:27 · 18741 阅读 · 1 评论