怎样通过 VBA 操作Visio 绘图用到的参考线?

flirting 2005-09-27 11:14:42
我想用参考线首先搭建一个框架,这样方便接下来的绘图操作
...全文
359 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
jilm168 2005-12-07
  • 打赏
  • 举报
回复
长点见识了
2hope 2005-11-23
  • 打赏
  • 举报
回复
lz好人.
flirting 2005-10-09
  • 打赏
  • 举报
回复
自己来回答 (from MSDN Visio Automation Reference)


objRet = object.AddGuide (guideType, x, y)

objRet
A Shape object that represents the new guide.
object
Required. An expression that returns a Page object.
guideType
Required Integer. The type of guide to add.
x
Required Double. The x-coordinate of a point on the guide.
y
Required Double. The y-coordinate of a point on the guide.

Remarks
The following constants declared by the Visio type library are valid values for guides.


Constant Value Description

visPoint 1 Guide point

visHorz 2 Horizontal guide

visVert 3 Vertical guide


wirte 2005-09-28
  • 打赏
  • 举报
回复
职业接分,顺便帮顶。

1,979

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 其他语言讨论
社区管理员
  • 其他语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧