Get the Structural Member Properties for API

I am working with Solidworks for a Plugin in C#.  Trying to get the Properties for Structural Members . For example suppose If I select Australian Welded Beams with Size 1200 WB 78 as shown below in first pic , then I want to know if it is possible to derive properties like Overall Width, Overall Height, Flange Thickness etc.  programmatically (as shown in the second picture ) . 

   

SolidworksApi/macros