Share via


SlideShowView.DrawLine Method

Draws a line in the specified slide show view.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub DrawLine ( _
    BeginX As Single, _
    BeginY As Single, _
    EndX As Single, _
    EndY As Single _
)
'Usage
Dim instance As SlideShowView
Dim BeginX As Single
Dim BeginY As Single
Dim EndX As Single
Dim EndY As Single

instance.DrawLine(BeginX, BeginY, EndX, _
    EndY)
void DrawLine(
    float BeginX,
    float BeginY,
    float EndX,
    float EndY
)

Parameters

  • BeginX
    Type: System.Single
    The position (in points) of the line's starting point relative to the upper-left corner of the slide.
  • BeginY
    Type: System.Single
    The position (in points) of the line's starting point relative to the upper-left corner of the slide.
  • EndX
    Type: System.Single
    The position (in points) of the line's ending point relative to the upper-left corner of the slide.
  • EndY
    Type: System.Single
    The position (in points) of the line's ending point relative to the upper-left corner of the slide.

See Also

Reference

SlideShowView Interface

SlideShowView Members

Microsoft.Office.Interop.PowerPoint Namespace