AnnNameBoundingRectLeft Example for Visual C++
//This sample displays the bounding rectangle of the annotation hObject
CString strMsg;
strMsg.Format(TEXT("Ann Name Bounding Rect:\n\tleft: %f\n\ttop: %f\n\twidth: %f\n\theight: %f"),
m_pRasterAnn->GetAnnNameBoundingRectLeft (hObject),
m_pRasterAnn->GetAnnNameBoundingRectTop (hObject),
m_pRasterAnn->GetAnnNameBoundingRectWidth (hObject),
m_pRasterAnn->GetAnnNameBoundingRectHeight (hObject)
);
MessageBox(strMsg);