Table of contents
TOC
Collapse the table of content
Expand the table of content

Page.DrawArcByThreePoints Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Creates a shape whose path consists of an arc defined by the three points passed as parameters.

Syntax

expression . DrawArcByThreePoints( xBegin , yBegin , xEnd , yEnd , xControl , yControl )

expression A variable that represents a Page object.

Parameters

NameRequired/OptionalData TypeDescription
xBeginRequiredDoubleThe x-coordinate of the begin point of the arc.
yBeginRequiredDoubleThe y-coordinate of the begin point of the arc.
xEndRequiredDoubleThe x-coordinate of the endpoint of the arc.
yEndRequiredDoubleThe y-coordinate of the endpoint of the arc.
xControlRequiredDoubleThe x-coordinate of the control point of the arc.
yControlRequiredDoubleThe y-coordinate of the control point of the arc.

Return Value

Shape

Remarks

All points should be in internal drawing units with respect to the coordinate space of the master, page, or group where the shape is being drawn.

Example

This Microsoft Visual Basic for Applications (VBA) macro shows how to use the DrawArcByThreePoints method to draw an arc on the drawing page.

Public Sub DrawArcByThreePoints_Example 

 Dim vsoShape As Visio.Shape 
 Set vsoShape = ActivePage.DrawArcByThreePoints(3, 3, 6, 8, 5, 5) 

End Sub
© 2017 Microsoft