Available in the LEADTOOLS Imaging toolkit.
InfoViewPerspective example for Visual Basic
LEAD1.GetFileInfo "c:\test.tif", 1, 0 MsgBox CStr(LEAD1.InfoViewPerspective)