Share via


LineFormat.Pattern Property

Returns or sets a value that represents the pattern applied to the specified fill or line.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property Pattern As MsoPatternType
    Get
    Set
'Usage
Dim instance As LineFormat
Dim value As MsoPatternType

value = instance.Pattern

instance.Pattern = value
MsoPatternType Pattern { get; set; }

Property Value

Type: MsoPatternType

Remarks

You can also use the Patterned method to set the pattern for the fill or line.

Use the BackColor and ForeColor properties to set the colors used in the pattern.

See Also

Reference

LineFormat Interface

LineFormat Members

Microsoft.Office.Interop.Word Namespace