SlideShowView.DrawLine Method (PowerPoint)
Draws a line in the specified slide show view.
Syntax
expression .DrawLine(BeginX, BeginY, EndX, EndY)
expression A variable that represents a SlideShowView object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
BeginX |
Required |
Single |
The position (in points) of the line's starting point relative to the upper-left corner of the slide. |
BeginY |
Required |
Single |
The position (in points) of the line's starting point relative to the upper-left corner of the slide. |
EndX |
Required |
Single |
The position (in points) of the line's ending point relative to the upper-left corner of the slide. |
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