DrawLine Method

Applies To

SlideShowView object.

Description

Draws a line in the specified slide show view.

Syntax

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.

See Also

AddLine method, EraseDrawing method.

Example

This example draws a line in slide show window one.

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