Table of contents
TOC
Collapse the table of content
Expand the table of content

LineFormat.Pattern Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Sets or returns a value that represents the pattern applied to the specified line. Read/write.

Syntax

expression. Pattern

expression A variable that represents a LineFormat object.

Return Value

MsoPatternType

Example

This example adds a patterned line to myDocument.

Set myDocument = ActivePresentation.Slides(1) 
With myDocument.Shapes.AddLine(10, 100, 250, 0).Line 
    .Weight = 6 
    .ForeColor.RGB = RGB(0, 0, 255) 
    .BackColor.RGB = RGB(128, 0, 0) 
    .Pattern = msoPatternDarkDownwardDiagonal 
End With

See also

Concepts

LineFormat Object

© 2018 Microsoft