Shapes.AddSmartArt(SmartArtLayout, 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 le graphique SmartArt spécifié dans le document actif.
public Microsoft.Office.Interop.Word.Shape AddSmartArt (Microsoft.Office.Core.SmartArtLayout Layout, ref object Left, ref object Top, ref object Width, ref object Height, ref object Anchor);
abstract member AddSmartArt : Microsoft.Office.Core.SmartArtLayout * obj * obj * obj * obj * obj -> Microsoft.Office.Interop.Word.Shape
Public Function AddSmartArt (Layout As SmartArtLayout, Optional ByRef Left As Object, Optional ByRef Top As Object, Optional ByRef Width As Object, Optional ByRef Height As Object, Optional ByRef Anchor As Object) As Shape
Paramètres
- Layout
- SmartArtLayout
SmartArtLayoutObjet qui spécifie la disposition du graphique SmartArt.
- Left
- Object
Distance, en points, entre le bord gauche de la diapositive et le bord gauche du graphique SmartArt.
- Top
- Object
Distance, en points, entre le bord supérieur de la diapositive et le bord supérieur du graphique SmartArt.
- Width
- Object
Largeur du graphique SmartArt.
- Height
- Object
Hauteur du graphique SmartArt.
- Anchor
- Object
RangeObjet qui représente le texte auquel le graphique SmartArt est lié. Si le point d'ancrage est spécifié, l'ancrage est placé au début du premier paragraphe de la plage d'ancrage. Si ce paramètre est omis, la plage d’ancrage est sélectionnée automatiquement et le graphique SmartArt est positionné par rapport aux bords supérieur et gauche de la page.
Retours
Objet Shape.