> ## 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.

# Class GraphicsTextPreferences

Namespace: [OpenTD.UserPreferences](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.UserPreferences)\
Assembly: OpenTD.dll

Use to set the global dwg text preferences.

```csharp theme={null}
[DataContract]
public class GraphicsTextPreferences : Preferences, IUpdatable
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
TdConnected ←
Preferences ←
[GraphicsTextPreferences](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.UserPreferences.GraphicsTextPreferences.md)

## Implements

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

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### GraphicsTextPreferences()

```csharp theme={null}
public GraphicsTextPreferences()
```

### GraphicsTextPreferences(ThermalDesktop)

```csharp theme={null}
public GraphicsTextPreferences(ThermalDesktop _td)
```

#### Parameters

`_td` [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.ThermalDesktop.md)

## Properties

### compartmentTextColor

```csharp theme={null}
[DataMember]
public int compartmentTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### compartmentTextScale

```csharp theme={null}
[DataMember]
public double compartmentTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### compartmentTextShow

```csharp theme={null}
[DataMember]
public bool compartmentTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### compartmentTextStringIndex

```csharp theme={null}
[DataMember]
public int compartmentTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### fklocTextColor

```csharp theme={null}
[DataMember]
public int fklocTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### fklocTextScale

```csharp theme={null}
[DataMember]
public double fklocTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### fklocTextShow

```csharp theme={null}
[DataMember]
public bool fklocTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### fklocTextStringIndex

```csharp theme={null}
[DataMember]
public int fklocTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### fontName

```csharp theme={null}
[DataMember]
public string fontName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### lumpTextColor

```csharp theme={null}
[DataMember]
public int lumpTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### lumpTextScale

```csharp theme={null}
[DataMember]
public double lumpTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### lumpTextShow

```csharp theme={null}
[DataMember]
public bool lumpTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### lumpTextStringIndex

```csharp theme={null}
[DataMember]
public int lumpTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### nodeTextColor

```csharp theme={null}
[DataMember]
public int nodeTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### nodeTextScale

```csharp theme={null}
[DataMember]
public double nodeTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### nodeTextShow

```csharp theme={null}
[DataMember]
public bool nodeTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### nodeTextStringIndex

```csharp theme={null}
[DataMember]
public int nodeTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### numbersSize

```csharp theme={null}
[DataMember]
public Dimensional<ModelLength> numbersSize { get; set; }
```

#### Property Value

[Dimensional](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.Dimension.Dimensional-1.md)\<[ModelLength](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.Dimension.ModelLength.md)>

### pathTextColor

```csharp theme={null}
[DataMember]
public int pathTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### pathTextScale

```csharp theme={null}
[DataMember]
public double pathTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### pathTextShow

```csharp theme={null}
[DataMember]
public bool pathTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### pathTextStringIndex

```csharp theme={null}
[DataMember]
public int pathTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### pipeTextColor

```csharp theme={null}
[DataMember]
public int pipeTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### pipeTextScale

```csharp theme={null}
[DataMember]
public double pipeTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### pipeTextShow

```csharp theme={null}
[DataMember]
public bool pipeTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### pipeTextStringIndex

```csharp theme={null}
[DataMember]
public int pipeTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### portTextColor

```csharp theme={null}
[DataMember]
public int portTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### portTextScale

```csharp theme={null}
[DataMember]
public double portTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### portTextShow

```csharp theme={null}
[DataMember]
public bool portTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### portTextStringIndex

```csharp theme={null}
[DataMember]
public int portTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### screenNumberPercent

```csharp theme={null}
[DataMember]
public double screenNumberPercent { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### showFluidSubmodelNames

```csharp theme={null}
[DataMember]
public bool showFluidSubmodelNames { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### showNodeSubmodelNames

```csharp theme={null}
[DataMember]
public bool showNodeSubmodelNames { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### teeTextColor

```csharp theme={null}
[DataMember]
public int teeTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### teeTextScale

```csharp theme={null}
[DataMember]
public double teeTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### teeTextShow

```csharp theme={null}
[DataMember]
public bool teeTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### teeTextStringIndex

```csharp theme={null}
[DataMember]
public int teeTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### tieTextColor

```csharp theme={null}
[DataMember]
public int tieTextColor { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### tieTextScale

```csharp theme={null}
[DataMember]
public double tieTextScale { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### tieTextShow

```csharp theme={null}
[DataMember]
public bool tieTextShow { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### tieTextStringIndex

```csharp theme={null}
[DataMember]
public int tieTextStringIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### useScreenNumberPercent

```csharp theme={null}
[DataMember]
public bool useScreenNumberPercent { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Methods

### Update()

Updates the TD entity with the latest client data.

```csharp theme={null}
public void Update()
```

### UpdateFromTD()

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

```csharp theme={null}
public void UpdateFromTD()
```
