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

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

Use to control the TD/AutoCAD progress bar.

```csharp theme={null}
public class ProgressBar : TdConnected
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
TdConnected ←
[ProgressBar](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.AddIn.ProgressBar.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

### ProgressBar(ThermalDesktop)

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

#### Parameters

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

## Methods

### Hide()

Hide the progress bar.

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

### SetProgress(int)

Set the position of the bar from 0 to 100.

```csharp theme={null}
public void SetProgress(int progressPercent)
```

#### Parameters

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

### SetTitle(string)

Set the text to display near the bar.

```csharp theme={null}
public void SetTitle(string title)
```

#### Parameters

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

### Show()

Show the progress bar.

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