    

 ## On this page

  

 

 # OpenTD.AddIn.ProgressBar Class Reference

 Last update: 16.07.2025 

Use to control the TD/AutoCAD progress bar. [More...](#details)

Inheritance diagram for OpenTD.AddIn.ProgressBar:

 ![](/sites/default/files/migrate-content/opentd_refefence_net_8_2025_r2_doc_1/class_open_t_d_1_1_add_in_1_1_progress_bar.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [ProgressBar](#ab1ddd91e7f8ef663fac351dc9fe1ddda) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) \_td) void [SetTitle](#a7164aad11d1f9b25cf2277ea5920c303) (string title) Set the text to display near the bar.   
 void [SetProgress](#a9ac04ca6fbc3f6f2280129a681655f75) (int progressPercent) Set the position of the bar from 0 to 100.   
 void [Show](#ab5d3b32658d884b7f5f54de2c6bd779b) () Show the progress bar.   
 void [Hide](#ae63e100e2f5f762ed7f9ac989ef68f60) () Hide the progress bar.   
 <a id="details" name="details"></a>## Detailed Description

Use to control the TD/AutoCAD progress bar.



## Constructor &amp; Destructor Documentation

<a id="ab1ddd91e7f8ef663fac351dc9fe1ddda" name="ab1ddd91e7f8ef663fac351dc9fe1ddda"></a>## [◆ ](#ab1ddd91e7f8ef663fac351dc9fe1ddda)ProgressBar()

 OpenTD.AddIn.ProgressBar.ProgressBar  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *\_td*)   inline 





## Member Function Documentation

<a id="ae63e100e2f5f762ed7f9ac989ef68f60" name="ae63e100e2f5f762ed7f9ac989ef68f60"></a>## [◆ ](#ae63e100e2f5f762ed7f9ac989ef68f60)Hide()

 void OpenTD.AddIn.ProgressBar.Hide  ( )   inline 

Hide the progress bar.





<a id="a9ac04ca6fbc3f6f2280129a681655f75" name="a9ac04ca6fbc3f6f2280129a681655f75"></a>## [◆ ](#a9ac04ca6fbc3f6f2280129a681655f75)SetProgress()

 void OpenTD.AddIn.ProgressBar.SetProgress  ( int *progressPercent*)   inline 

Set the position of the bar from 0 to 100.





<a id="a7164aad11d1f9b25cf2277ea5920c303" name="a7164aad11d1f9b25cf2277ea5920c303"></a>## [◆ ](#a7164aad11d1f9b25cf2277ea5920c303)SetTitle()

 void OpenTD.AddIn.ProgressBar.SetTitle  ( string *title*)   inline 

Set the text to display near the bar.





<a id="ab5d3b32658d884b7f5f54de2c6bd779b" name="ab5d3b32658d884b7f5f54de2c6bd779b"></a>## [◆ ](#ab5d3b32658d884b7f5f54de2c6bd779b)Show()

 void OpenTD.AddIn.ProgressBar.Show  ( )   inline 

Show the progress bar.





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/AddIn/**ProgressBar.cs**