HeadingStyles.Add(Object, Int16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
Microsoft::Office::Interop::Word::HeadingStyle ^ Add(System::Object ^ % Style, short Level);
public Microsoft.Office.Interop.Word.HeadingStyle Add (ref object Style, short Level);
abstract member Add : obj * int16 -> Microsoft.Office.Interop.Word.HeadingStyle
Public Function Add (ByRef Style As Object, Level As Short) As HeadingStyle
Parameters
- Style
- 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
- Int16
Required Short. A number that represents the level of the heading.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for