Shapes.AddSmartArt(SmartArtLayout, Object, Object, Object, Object, Object) Méthode

Définition

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

Shape

Objet Shape.

S’applique à