Muokkaa

Jaa


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

See also

SlideShowView Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.