System Table TB_LABEL_DEF

The table TB_LABEL_DEF contains SQL Select statements that return text when placing or updating labels.

Note:

Do not edit this table manually. Use the data model administrator (Label Properties).

Attributes of TB_LABEL_DEF

Description

 

ID

Stores the label definition ID. User defined label definitions start with ID 10.000. IDs < 10.000 are used for Autodesk applications.

LABEL_ID

Stores the label ID. All label definitions of one feature class are grouped by this label_ID. For example, if you have defined four labels for a certain label feature class, those for definitions will all have the same label_ID.

NAME

Specifies the label name.

SELECT_STATEMENT

Stores the label select statement. See alsoLabel Select Statements.

EXAMPLE

Specifies a sample label.

Position_along_object

Defines the position of the label.

1 = Start; 2 = Middle; 3 = End. Default is Middle.

Absolute_offset_*

Specifies the absolute text coordinates offset.

Relative_offset_*

Specifies the relative text coordinates offset.

ORIENTATION

Stores the text orientation.

IS_RELATIVE_ORIENTATION

Specifies whether the text orientation is absolute or relative. Either 0 = absolute or 1 = relative.

Autolabel

Specifies whether the label is created when the feature was created. Either 1 = Yes or 0 = No.

User_selects_position

Specifies whether the user selects the label position. Either Yes or No.

Overwrite_label_text_with_null

Specifies whether the label text will be NULL if the select statement returns NULL. Either 1 = Yes or 0 = No.

Scale_select_statement

Specifies a select statement to query the scale.

Pre

Specifies a prefix for label text.

Suf

Specifies a suffix for label text, for example a unit of measurement could be used.

Select_statement_geometry

Specifies a select statement to find the coordinates of a parent feature.

Active

Specifies whether the label is active. Either 1 = Yes or 0 = No.