Selected Edge in Drawing view Vertical or Horizontal

I have some code that selects some edges for some specific annotation, but I want to place it in a specific way based on if the edge is vertical or horizontal in the drawing view.

Anyone have any ideas?

Thanks...

SolidworksApi macros