Share via


CanvasShapes.AddLine Method

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function AddLine ( _
    BeginX As Single, _
    BeginY As Single, _
    EndX As Single, _
    EndY As Single _
) As Shape
'Usage
Dim instance As CanvasShapes
Dim BeginX As Single
Dim BeginY As Single
Dim EndX As Single
Dim EndY As Single
Dim returnValue As Shape

returnValue = instance.AddLine(BeginX, _
    BeginY, EndX, EndY)
Shape AddLine(
    float BeginX,
    float BeginY,
    float EndX,
    float EndY
)

Parameters

Return Value

Type: Microsoft.Office.Core.Shape

See Also

Reference

CanvasShapes Interface

CanvasShapes Members

Microsoft.Office.Core Namespace