Get Dimension Orientation using API

How do I get the information of dimension orientation of sketch or feature using API?

For example:

In the image below, I have two sketches, W(10) in vertical direction and L1_s(10) in horizontal direction.
Is there any possible way to get this vertical and horizontal orientation  information using Solidworks API?

With Regards,

Prarthana

SolidworksApi macros