Shapes.AddCatalogMergeFieldToCanvas method (Publisher)

Adds a catalog merge field of the specified type to the canvas. Returns nothing.

Syntax

expression.AddCatalogMergeFieldToCanvas (CanvasId, CatalogMergeFieldType, DbCol)

expression A variable that represents a Shapes object.

Parameters

Name Required/Optional Data type Description
CanvasId Required Integer The ID of the canvas to which to add the catalog merge field.
CatalogMergeFieldType Required PbCatalogMergeFieldType The type (picture or text) of the catalog merge field to add.
DbCol Required Integer The number of the column in the data source that contains the catalog merge information.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.