Selection.InsertCaption(Object, Object, Object, Object, Object) 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.
Insère une légende immédiatement avant ou après la sélection spécifiée.
public void InsertCaption (ref object Label, ref object Title, ref object TitleAutoText, ref object Position, ref object ExcludeLabel);
abstract member InsertCaption : obj * obj * obj * obj * obj -> unit
Public Sub InsertCaption (ByRef Label As Object, Optional ByRef Title As Object, Optional ByRef TitleAutoText As Object, Optional ByRef Position As Object, Optional ByRef ExcludeLabel As Object)
Paramètres
- Label
- Object
Objetrequired. L'étiquette de légende à insérer. WdCaptionLabelID.
- Title
- Object
Objetfacultatif. Chaîne à insérer immédiatement après l’étiquette dans la légende (ignoré si TitleAutoText est spécifié).
- TitleAutoText
- Object
Objetfacultatif. L’insertion automatique dont vous souhaitez insérer le contenu immédiatement après l’étiquette dans la légende (remplace le texte spécifié par Title ).
- Position
- Object
Objetfacultatif. Indique si la légende est insérée au-dessus ou en dessous de l' Selection objet. WdCaptionPosition.
- ExcludeLabel
- Object
Objetfacultatif. True n’inclut pas l’étiquette de texte, tel qu’il est défini dans le Label paramètre ; False inclut l’étiquette spécifiée.