AnnNameRectLeft Example for Visual C++
//This sample displays the defining rectangle of the annotation hObject
CString strMsg;
strMsg.Format(TEXT("Ann Name Rect:\n\tleft: %f\n\ttop: %f\n\twidth: %f\n\theight: %f"),
m_pRasterAnn->GetAnnNameRectLeft (hObject),
m_pRasterAnn->GetAnnNameRectTop (hObject),
m_pRasterAnn->GetAnnNameRectWidth (hObject),
m_pRasterAnn->GetAnnNameRectHeight (hObject)
);
MessageBox(strMsg);