SolidWorks 2025 SP3 API: Loop over dimensions in drawing

Is there a function that allows the user to select one dimension after another and, for example, add a text after the dimension text? Preferably for VBA, VB.NET or C#. Thank you very much!