AnnTextPointerFixed example for C++ 5 and later
void CTutorDlg::ExampleAnnTextPointerFixed(long hObject)
{
AnnObjectType ObjectType;
VARIANT_BOOL bTextPointerFixed;
m_pRasterAnn->AnnGetType(hObject);
ObjectType = m_pRasterAnn->GetAnnType();
if (ObjectType != ANN_OBJECT_TEXT)
MessageBox (TEXT("This Object is not an Text Object"));
bTextPointerFixed = m_pRasterAnn->GetAnnTextPointerFixed(hObject);
if (bTextPointerFixed = TRUE)
bTextPointerFixed = FALSE;
else
bTextPointerFixed = TRUE;
m_pRasterAnn->PutAnnTextPointerFixed(hObject,bTextPointerFixed);
}