> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.TdTextData Class Reference

\<exclude >

Inheritance diagram for OpenTD.TdTextData:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_text_data.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=0f5acf9b0294efbb5b8dc7785fba9f89)

## Public Member Functions

| Type | Name |
| - | - |
| | [TdTextData](#a42aab52c773c30a2786f806dba2c773b) () |
| override string | [ToString](#a5b553b3d3ec4cb27e1214c665a9c5cc1) () |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#abf5b57b46dd355b945d17eca954fe173) ([TdDbEntityData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md) x) |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a595c3f7ce20889de96e2adf759fb4c2c) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) x) |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md) x) |
| override void | [Update](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a18304eff52add0793e578464eaecb4fb) () Updates the TD entity with the latest client data. |
| override void | [UpdateFromTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a0d02db5bdd966c2ec9f83d3f07c4a6e8) () Updates the client-side instance with the latest data from the TD entity. |
| override void | [CreateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#ab2b049c600a1290764920ab3a5e4f1b6) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) td) Creates the TD entity in the specified TD instance. |
| override bool | [Equals](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a07cda25341543659c639e815879e5e38) (object obj) |
| override int | [GetHashCode](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a10d2aadcea2f0c8dbdd597c71cd1f7ad) () |
| void | [UpdateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible. |

## Static Public Member Functions

| Type | Name |
| - | - |
| static bool | [operator==](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#adc17b71dfa209f83a3a1730c95a032a6) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) second) |
| static bool | [operator!=](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#ae362d2d78aad41f0cec5dcc3c345b33d) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) second) |

## Protected Member Functions

| Type | Name |
| - | - |
| string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#ab07a5432adb933ee336d5e01c9bbed94) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_submodel.md), string Id, string Comment) |
| string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#a96616691bb090a4b73f12d23f76a1a76) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_submodel.md), int Id, string Comment) |

## Protected Attributes

| Type | Name |
| - | - |
| [ITdCommander](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.md) | [TdProxy](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md#a0da16592e6b635ca0def27b355d669b3) |

## Properties

| Type | Name |
| - | - |
| [Point3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_point3d.md) | [Origin](#af761b4a2d3be9fc4d56b5680a1567cc5)`[get, set]` |
| string | [Name](#a4992ac1c62cba9f5468adf9c840426e9)`[get, set]` |
| string | [Text](#a6f8be0285d4ebba85e15838616fc5156)`[get, set]` |
| int | [ModelOrPaperSpace](#a0cabd4927c8dbf5e39b78b925250004b)`[get, set]` |
| int | [ModelSpaceWCSOrVPCS](#a089b3eb6ec1bf4d0b3b7bd5f1ed7c904)`[get, set]` |
| int | [AttachmentPoint](#a67aa7709307c7e351923ab5823d080dd)`[get, set]` |
| int | [Mode](#ab76dd7d19f0c2577a01c8dfc8c617188)`[get, set]` |
| double | [TextPercent](#a4e1954ba02b9c0330091af6015acd81d)`[get, set]` |
| double | [XScreenPercent](#aa37e633384a739681086995557261df3)`[get, set]` |
| double | [YScreenPercent](#af278f9abedc32341b6b1bc8a60eb2dab)`[get, set]` |
| int | [Enabled](#adbe9f6f86506accdd1e9520d6fe30121)`[get, set]` |
| [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_expression_data.md) | [EnabledExp](#accecbb7f6a956f0b22a379f72e8df3c9)`[get, set]` |
| int | [UseBackgroundMask](#ac5b8d7d73b5261cbe5a9377396b73023)`[get, set]` |
| int | [UseBackgroundColor](#a1a935591f3495c67d81d6448c171ecc0)`[get, set]` |
| int | [BackgroundMaskColor](#aec3b75fcc152bd187976c34b97d56c8e)`[get, set]` |
| string | [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#a41b404d510f026f172463d453c74c112)`[get, set]` |
| int | [ColorIndex](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#ae76026f8ee74723b4fea0623eb0c4cf4)`[get, set]` Specifies a color. See the AutoCAD [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_layer.md) [Properties](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/namespace_open_t_d_1_1_properties.md) Manager for valid values. |
| string | [Handle](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a64061b4cada0773c01f886b2670ab156)`[get, set]` |
| string | [TypeName](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#ab9ed363a260a75e71e606e61d3f86352)`[get, set]` |
| string | [TdClassName](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_td_derived.md#ab352578bf3691270b61651f567077073)`[get]` |

## Detailed Description

\<exclude >

## Constructor & Destructor Documentation

### TdTextData()

```csharp theme={null}
OpenTD.TdTextData.TdTextData()
```

`inline`

## Member Function Documentation

### CreateIn()

```csharp theme={null}
override void OpenTD.DbObject.CreateIn(ThermalDesktop td)
```

`inline` `inherited`

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_reassignable.md#a94cbc52d002a10e44f5dc2daaf9c87db).

### Equals()

```csharp theme={null}
override bool OpenTD.DbObject.Equals(object obj)
```

`inline` `inherited`

### GetHashCode()

```csharp theme={null}
override int OpenTD.DbObject.GetHashCode()
```

`inline` `inherited`

### operator!=()

```csharp theme={null}
static bool OpenTD.DbObject.operator!=(
    DbObject first,
    DbObject second
)
```

`inline` `static` `inherited`

### operator==()

```csharp theme={null}
static bool OpenTD.DbObject.operator==(
    DbObject first,
    DbObject second
)
```

`inline` `static` `inherited`

### SetFrom() \[1/3]

```csharp theme={null}
void OpenTD.DbObject.SetFrom(DbObject x)
```

`inline` `inherited`

### SetFrom() \[2/3]

```csharp theme={null}
void OpenTD.OpenTDObject.SetFrom(OpenTDObject x)
```

`inline` `inherited`

### SetFrom() \[3/3]

```csharp theme={null}
void OpenTD.TdDbEntityData.SetFrom(TdDbEntityData x)
```

`inline` `inherited`

### ToString() \[1/3]

```csharp theme={null}
string OpenTD.TdDbEntityData.ToString(
    string Submodel,
    int Id,
    string Comment
)
```

`inline` `protected` `inherited`

### ToString() \[2/3]

```csharp theme={null}
string OpenTD.TdDbEntityData.ToString(
    string Submodel,
    string Id,
    string Comment
)
```

`inline` `protected` `inherited`

### ToString() \[3/3]

```csharp theme={null}
override string OpenTD.TdTextData.ToString()
```

`inline`

### Update()

```csharp theme={null}
override void OpenTD.DbObject.Update()
```

`inline` `inherited`

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_updatable.md#a162ef7c717f51047a1d45c7df4282470).

### UpdateFromTD()

```csharp theme={null}
override void OpenTD.DbObject.UpdateFromTD()
```

`inline` `inherited`

Updates the client-side instance with the latest data from the TD entity.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_updatable.md#a47f3096415cfb5694fd822df8a1eceb0).

### UpdateIn()

```csharp theme={null}
void OpenTD.OpenTDObject.UpdateIn(ThermalDesktop td)
```

`inline` `inherited`

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_reassignable.md#a90dffde7dd442e9d940f9e5c5fabde14).

## Member Data Documentation

### TdProxy

```csharp theme={null}
ITdCommander OpenTD.OpenTDObject.TdProxy
```

`protected` `inherited`

## Property Documentation

### AttachmentPoint

```csharp theme={null}
int OpenTD.TdTextData.AttachmentPoint
```

`get` `set`

### BackgroundMaskColor

```csharp theme={null}
int OpenTD.TdTextData.BackgroundMaskColor
```

`get` `set`

### ColorIndex

```csharp theme={null}
int OpenTD.TdDbEntityData.ColorIndex
```

`get` `set` `inherited`

Specifies a color. See the AutoCAD [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_layer.md) [Properties](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/namespace_open_t_d_1_1_properties.md) Manager for valid values.

### Enabled

```csharp theme={null}
int OpenTD.TdTextData.Enabled
```

`get` `set`

### EnabledExp

```csharp theme={null}
ExpressionData OpenTD.TdTextData.EnabledExp
```

`get` `set`

### Handle

```csharp theme={null}
string OpenTD.DbObject.Handle
```

`get` `set` `inherited`

### Layer

```csharp theme={null}
string OpenTD.TdDbEntityData.Layer
```

`get` `set` `inherited`

### Mode

```csharp theme={null}
int OpenTD.TdTextData.Mode
```

`get` `set`

### ModelOrPaperSpace

```csharp theme={null}
int OpenTD.TdTextData.ModelOrPaperSpace
```

`get` `set`

### ModelSpaceWCSOrVPCS

```csharp theme={null}
int OpenTD.TdTextData.ModelSpaceWCSOrVPCS
```

`get` `set`

### Name

```csharp theme={null}
string OpenTD.TdTextData.Name
```

`get` `set`

### Origin

```csharp theme={null}
Point3d OpenTD.TdTextData.Origin
```

`get` `set`

### TdClassName

```csharp theme={null}
string OpenTD.ITdDerived.TdClassName
```

`get` `inherited`

### Text

```csharp theme={null}
string OpenTD.TdTextData.Text
```

`get` `set`

### TextPercent

```csharp theme={null}
double OpenTD.TdTextData.TextPercent
```

`get` `set`

### TypeName

```csharp theme={null}
string OpenTD.DbObject.TypeName
```

`get` `set` `inherited`

### UseBackgroundColor

```csharp theme={null}
int OpenTD.TdTextData.UseBackgroundColor
```

`get` `set`

### UseBackgroundMask

```csharp theme={null}
int OpenTD.TdTextData.UseBackgroundMask
```

`get` `set`

### XScreenPercent

```csharp theme={null}
double OpenTD.TdTextData.XScreenPercent
```

`get` `set`

### YScreenPercent

```csharp theme={null}
double OpenTD.TdTextData.YScreenPercent
```

`get` `set`

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**Text.cs**
