LabelTemplate Object


Defines what fields from the database table are displayed in the label, and how the label text is formatted.

VBA class name: LabelTemplate

Create using: LabelTemplates.Add

Access via: LabelTemplates.Item

A label template can be updated only if there are no links associated with it.

Label templates have database properties and graphical properties. Database properties correspond to table column references. Graphical properties control the appearance of label text in the drawing area. To update data retrieved from a database, use the Reload method. To update label text, use the Refresh method.

To create a label template, use the Add method of the LabelTemplates collection. To edit or query a label template, use the following methods and properties:

Methods

Hide

Refresh

Reload

Show

Properties

Catalog

Color

Datasource

DbConnect

DisplayableAttributes

Document

Format

LeaderAttachment

LeaderOffset

Linetype

Name

Rotation

Schema

Table

TextAttachment

TextHeight

TextStyle

TipOffset