HeadingStyles.Add(Object, Int16) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Renvoie un HeadingStyle Object qui représente un nouveau style de titre ajouté à un document. Le nouveau style de titre est pris en compte chaque fois que vous compilez une table des matières ou une table des illustrations.
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
Paramètres
- Style
- Object
Objetrequired. Le style que vous souhaitez ajouter. Vous pouvez spécifier cet argument à l’aide du nom de chaîne pour le style ou un Style objet.
- Level
- Int16
Shortobligatoire. Nombre qui correspond au niveau de titre.