Shapes.AddGroupWizard Method
Publisher Developer Reference |
Adds a Shape object representing a Design Gallery object to the publication.
Syntax
expression.AddGroupWizard(Wizard, Left, Top, Width, Height, Design)
expression A variable that represents a Shapes object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Wizard | Required | PbWizardGroup | The type of Design Gallery object to add to the publication. |
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. |
Return Value
Shape
Remarks
The Wizard parameter can be one of the PbWizardGroup constants declared in the Microsoft Office Publisher type library.
Example
This example adds a Web table of contents to the active publication.
Visual Basic for Applications |
---|
|
See Also