Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Add method
Collapse the table of content
Expand the table of content

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.

Show:
© 2015 Microsoft