DrawLine Method

Microsoft PowerPoint Visual Basic

Draws a line in the specified slide show view.

expression.DrawLine(BeginX, BeginY, EndX, Height)

expression    Required. An expression that returns a SlideShowView object.

BeginX   , BeginY Required Single. The position (in points) of the line's starting point relative to the upper-left corner of the slide.

EndX   , EndY Required Single. The position (in points) of the line's ending point relative to the upper-left corner of the slide.

Example

This example draws a line in slide show window one.

SlideShowWindows(1).View.DrawLine 5, 5, 250, 250