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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per