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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應