Shapes.AddGroupWizard-Methode (Publisher)
Fügt der Publikation ein Shape-Objekt hinzu, das ein Design Gallery-Objekt darstellt.
Syntax
Ausdruck. 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. Dies 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
In diesem Beispiel wird der aktiven Publikation ein Web-Inhaltsverzeichnis hinzugefügt.
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.