FillFormat.Pattern Property
PowerPoint Developer Reference |
Sets or returns a value that represents the pattern applied to the specified fill. Read-only.
Syntax
expression.Pattern
expression A variable that represents a FillFormat object.
Return Value
MsoPatternType
Remarks
Use the BackColor and ForeColor properties to set the colors used in the pattern.
Example
This example adds a rectangle to myDocument
and sets its fill pattern to match that of the shape named "rect1." The new rectangle has the same pattern as rect1, but not necessarily the same colors. The colors used in the pattern are set with the BackColor and ForeColor properties.
Visual Basic for Applications |
---|
|
See Also