Share via


Shapes.AddCatalogMergeFieldToCanvas Method (Publisher)

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

Version Information

Version Added: Publisher 2010

Syntax

expression .AddCatalogMergeFieldToCanvas(CanvasId, CatalogMergeFieldType, DbCol)

expression A variable that represents a Shapes object.

Parameters

Name

Required/Optional

Data Type

Description

CanvasId

Required

[INT]

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

[INT]

The number of the column in the data source that contains the catalog merge information.