How to Select Dimensions in Drawing with API

Is it possible to select the indivitual dimensions in a drawing using a macro

Type of dimensions like "ordinate-horizontal, vertical and regular"

I checked in API help and it shows only a general category

GetDimension2 Method (IDisplayDimension)

Dim instance As IDisplayDimension
Dim Index As Integer
Dim value As Dimension

Any Help

SolidworksApi macros