AddGroupWizard Method [Publisher 2003 VBA Language Reference]
Adds a Shape object representing a Design Gallery object to the publication.
expression.AddGroupWizard(Wizard, Left, Top, Width, Height, Design)
expression Required. An expression that returns one of the objects in the Applies To list.
PbWizardGroup
PbWizardGroup can be one of these PbWizardGroup constants. |
pbWizardGroupAccentBox |
pbWizardGroupAccessoryBar |
pbWizardGroupAdvertisements |
pbWizardGroupAttentionGetter |
pbWizardGroupBarbells |
pbWizardGroupBorders |
pbWizardGroupBoxes |
pbWizardGroupCalendars |
pbWizardGroupCheckerboards |
pbWizardGroupCoupon |
pbWizardGroupDots |
pbWizardGroupEastAsiaZipCode |
pbWizardGroupJapaneseAccentBox |
pbWizardGroupJapaneseAccessoryBar |
pbWizardGroupJapaneseAttentionGetters |
pbWizardGroupJapaneseBorders |
pbWizardGroupJapaneseCalendar |
pbWizardGroupJapaneseCoupons |
pbWizardGroupJapaneseLinearAccent |
pbWizardGroupJapaneseMarquees |
pbWizardGroupJapaneseMastheads |
pbWizardGroupJapanesePullQuotes |
pbWizardGroupJapaneseReplyForms |
pbWizardGroupJapaneseSidebars |
pbWizardGroupJapaneseTableOfContents |
pbWizardGroupJapaneseWebButtonEmail |
pbWizardGroupJapaneseWebButtonHome |
pbWizardGroupJapaneseWebButtonLink |
pbWizardGroupJapaneseWebMastheads |
pbWizardGroupJapaneseWebNavigationBars |
pbWizardGroupJapaneseWebPullQuotes |
pbWizardGroupJapaneseWebSidebars |
pbWizardGroupLinearAccent |
pbWizardGroupLogo |
pbWizardGroupMarquee |
pbWizardGroupMastheads |
pbWizardGroupPhoneTearoff |
pbWizardGroupPictureCaptions |
pbWizardGroupPullQuotes |
pbWizardGroupPunctuation |
pbWizardGroupReplyForms |
pbWizardGroupSidebars |
pbWizardGroupTableOfContents |
pbWizardGroupWebButtonsEmail |
pbWizardGroupWebButtonsHome |
pbWizardGroupWebButtonsLink |
pbWizardGroupWebMastheads |
pbWizardGroupWebNavigationBars |
pbWizardGroupWebSidebars |
pbWizardGroupWellPullQuotes |
Left Required Variant. The position of the Design Gallery object's left edge relative to the left edge of the page, measured in points.
Top Required 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. The design of the object to be added.
Example
This example adds a Web table of contents to the active publication.
ActiveDocument.Pages(1).Shapes _
.AddGroupWizard Wizard:=pbWizardGroupTableOfContents, _
Left:=100, Top:=100
Applies to | Shapes Collection