HeadingStyle.Style Property

Returns or sets the style for the specified object.

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

Syntax

'Declaration
Default Property Style As Object
    Get
    Set
'Usage
Dim instance As HeadingStyle
Dim value As Object

value = instance

instance = value
Object this { get; set; }

Property Value

Type: System.Object

Remarks

To set the Style property, specify the local name of the style, an integer, a WdBuiltinStyle constant, or an object that represents the style.

When you return the style for a range that includes more than one style, only the first character or paragraph style is returned.

See Also

Reference

HeadingStyle Interface

HeadingStyle Members

Microsoft.Office.Interop.Word Namespace