AddGuide method
Adds a guide to a drawing page.
Version added
2.0
Syntax
| |
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 |