HeadingStyles.Add Method

Returns a HeadingStyle object that represents a new heading style added to a document. The new heading style will be included whenever you compile a table of contents or table of figures.

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

HeadingStyle Add(
	ref Object Style,
	short Level
)

Parameters

Style
Type: System.Object%
Required Object. The style you want to add. You can specify this argument by using either the string name for the style or a Style object.
Level
Type: System.Int16
Required Short. A number that represents the level of the heading.

Community Additions

ADD
Show:
© 2014 Microsoft