Available in the LEADTOOLS Imaging toolkit.
InfoViewPerspective example for C++ 4.0 and later
CString cs; m_LEAD1.GetFileInfo("c:\\test.tif", 1, 0); cs.Format("%d\n", m_LEAD1.GetInfoViewPerspective()); AfxMessageBox(cs);