centering dimension text

I'm hoping I've missed this somewhere, but I don't see where to do this... I don't have any trouble moving dimension text around, what I can't seem to do is center it within my dimension lines.

I've tried EditDimensionProperties, and setting CenterText to true, and I've tried DisplayDimension.CenterText = true;, all to no avail.

Anyone know how to do this?

thx

SolidworksApi/macros