Shapes.AddGroupWizard-Methode (Herausgeber)

Fügt der Publikation ein Shape-Objekt hinzu, das ein Design Gallery-Objekt darstellt.

Syntax

Ausdruck verwendet werden. AddGroupWizard (Assistent,links, oben, Breite, Höhe, Entwurf)

expression Eine Variable, die ein Shapes-Objekt darstellt.

Parameter

Name Erforderlich/Optional Datentyp Beschreibung
Assistent Erforderlich PbWizardGroup The type of Design Gallery object to add to the publication. Kann eine der PbWizardGroup-Konstanten sein, die in der Microsoft Publisher-Typbibliothek deklariert sind.
Left Erforderlich Variant The position of the Design Gallery object's left edge relative to the left edge of the page, measured in points.
Top Erforderlich Variant The position of the Design Gallery object's top edge relative to the top edge of the page, measured in points.
Width Optional Variant The width of the new Design Gallery object.
Height Optional Variant The height of the new Design Gallery object.
Design Optional Long Das Design des Objekts, das hinzugefügt werden soll.

Rückgabewert

Form

Beispiel

Dieses Beispiel fügt der aktiven Publikation ein Webinhaltsverzeichnis hinzu.

ActiveDocument.Pages(1).Shapes _ 
 .AddGroupWizard Wizard:=pbWizardGroupTableOfContents, _ 
 Left:=100, Top:=100

Support und Feedback

Haben Sie Fragen oder Feedback zu Office VBA oder zu dieser Dokumentation? Unter Office VBA-Support und Feedback finden Sie Hilfestellung zu den Möglichkeiten, wie Sie Support erhalten und Feedback abgeben können.