Editing the dimension text

Hello experts,

 

   I want to change the text below the dimension using AddDimension2 method in drafting as shown below. How can I achieve this with APIs?