Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.28 KB

Visio.Shape.AddGuide.md

File metadata and controls

57 lines (34 loc) · 1.28 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Shape.AddGuide method (Visio)
vis_sdr.chm11216035
vis_sdr.chm11216035
Visio.Shape.AddGuide
1155354e-3855-4def-bafb-0d70c933a57a
06/08/2017
medium

Shape.AddGuide method (Visio)

Adds a guide to a group shape.

Syntax

expression. AddGuide( _Type_ , _xPos_ , _yPos_ )

expression A variable that represents a Shape object.

Parameters

Name Required/Optional Data type Description
Type Required Integer The type of guide to add.
xPos Required Double The x-coordinate of a point on the guide.
yPos Required Double The y-coordinate of a point on the guide.

Return value

Shape

Remarks

You can add a guide only to a group shape.

To view guides that you add to a group shape by using the AddGuide method, use the OpenDrawWindow method to open the Group Editing window.

The following constants declared by the Visio type library are valid values for guide types.

Constant Value Description
visPoint 1 Guide point
visHorz 2 Horizontal guide
visVert 3 Vertical guide

[!includeSupport and feedback]