Skip to main content

OpenTD reference 2026 R1

Class GraphicsTextPreferences

Last update: 09.03.2026

Namespace: OpenTD.UserPreferences
Assembly: OpenTD.dll

Use to set the global dwg text preferences.

[MessagePackObject(true)]
public class GraphicsTextPreferences : Preferences, IUpdatable

Inheritance

object ← TdConnected ← Preferences ← GraphicsTextPreferences

Implements

IUpdatable

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

GraphicsTextPreferences()

public GraphicsTextPreferences()

GraphicsTextPreferences(ThermalDesktop)

public GraphicsTextPreferences(ThermalDesktop _td)

Parameters

_td ThermalDesktop

Properties

compartmentTextColor

public int compartmentTextColor { get; set; }

Property Value

int

compartmentTextScale

public double compartmentTextScale { get; set; }

Property Value

double

compartmentTextShow

public bool compartmentTextShow { get; set; }

Property Value

bool

compartmentTextStringIndex

public int compartmentTextStringIndex { get; set; }

Property Value

int

fklocTextColor

public int fklocTextColor { get; set; }

Property Value

int

fklocTextScale

public double fklocTextScale { get; set; }

Property Value

double

fklocTextShow

public bool fklocTextShow { get; set; }

Property Value

bool

fklocTextStringIndex

public int fklocTextStringIndex { get; set; }

Property Value

int

fontName

public string fontName { get; set; }

Property Value

string

lumpTextColor

public int lumpTextColor { get; set; }

Property Value

int

lumpTextScale

public double lumpTextScale { get; set; }

Property Value

double

lumpTextShow

public bool lumpTextShow { get; set; }

Property Value

bool

lumpTextStringIndex

public int lumpTextStringIndex { get; set; }

Property Value

int

nodeTextColor

public int nodeTextColor { get; set; }

Property Value

int

nodeTextScale

public double nodeTextScale { get; set; }

Property Value

double

nodeTextShow

public bool nodeTextShow { get; set; }

Property Value

bool

nodeTextStringIndex

public int nodeTextStringIndex { get; set; }

Property Value

int

numbersSize

public Dimensional<ModelLength> numbersSize { get; set; }

Property Value

Dimensional<ModelLength>

pathTextColor

public int pathTextColor { get; set; }

Property Value

int

pathTextScale

public double pathTextScale { get; set; }

Property Value

double

pathTextShow

public bool pathTextShow { get; set; }

Property Value

bool

pathTextStringIndex

public int pathTextStringIndex { get; set; }

Property Value

int

pipeTextColor

public int pipeTextColor { get; set; }

Property Value

int

pipeTextScale

public double pipeTextScale { get; set; }

Property Value

double

pipeTextShow

public bool pipeTextShow { get; set; }

Property Value

bool

pipeTextStringIndex

public int pipeTextStringIndex { get; set; }

Property Value

int

portTextColor

public int portTextColor { get; set; }

Property Value

int

portTextScale

public double portTextScale { get; set; }

Property Value

double

portTextShow

public bool portTextShow { get; set; }

Property Value

bool

portTextStringIndex

public int portTextStringIndex { get; set; }

Property Value

int

screenNumberPercent

public double screenNumberPercent { get; set; }

Property Value

double

showFluidSubmodelNames

public bool showFluidSubmodelNames { get; set; }

Property Value

bool

showNodeSubmodelNames

public bool showNodeSubmodelNames { get; set; }

Property Value

bool

teeTextColor

public int teeTextColor { get; set; }

Property Value

int

teeTextScale

public double teeTextScale { get; set; }

Property Value

double

teeTextShow

public bool teeTextShow { get; set; }

Property Value

bool

teeTextStringIndex

public int teeTextStringIndex { get; set; }

Property Value

int

tieTextColor

public int tieTextColor { get; set; }

Property Value

int

tieTextScale

public double tieTextScale { get; set; }

Property Value

double

tieTextShow

public bool tieTextShow { get; set; }

Property Value

bool

tieTextStringIndex

public int tieTextStringIndex { get; set; }

Property Value

int

useScreenNumberPercent

public bool useScreenNumberPercent { get; set; }

Property Value

bool

Methods

Update()

Updates the TD entity with the latest client data.

public void Update()

UpdateFromTD()

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

public void UpdateFromTD()

Connect with Ansys