CatalogMergeShapes Object
Publisher Developer Reference |
Represents the shapes contained in the catalog merge area of the specified publication.
Remarks
The catalog merge area is automatically resized to accommodate objects that are larger then the merge area, or that are positioned outside the catalog merge area when they are added.
Shapes inside the catalog merge area are automatically resized or repositioned if the catalog merge area is decreased in size or moved.
The catalog merge area can contain picture and text data fields you have inserted, in addtion to other design elements you choose.
Example
Use the CatalogMergeItems property of the Shape or ShapeRange objects to return the contents of the catalog merge area. The following example tests whether the specified publication contains a catalog merge area. If it does, it returns a list of the shapes it contains.
Visual Basic for Applications |
---|
|
Use the AddToCatalogMergeArea method of the Shape or ShapeRange objects to add shapes to a catalog merge area. The following example adds a rectangle to the catalog merge area in the specified publication. This example assumes a catalog merge area has been added to the first page of the publication.
Visual Basic for Applications |
---|
|
Use CatalogMergeItems(index), where index is index number, to return a single catalog merge area shape. The following example removes the first shape from the catalog merge area.
Visual Basic for Applications |
---|
|
Use the RemoveFromCatalogMergeArea method of the Shape or ShapeRange objects to remove shapes from a catalog merge area. Removed shapes are not deleted, but are instead placed on the publication page containing the catalog merge area. The following example tests whether the specified publication contains a catalog merge area. If it does, all the shapes are removed from the catalog merge area and deleted, and the catalog merge area is then removed from the publication.
Visual Basic for Applications |
---|
|
See Also