AnnGetProtractorOptions example for Visual C++
float ArcRadius;'
VARIANT_BOOL bAcute;
short nUnit, nPrecision;
m_pRasterAnn->AnnGetProtractorOptions (hProt);
bAcute = m_pRasterAnn->GetAnnProtractorAcute();
nUnit = m_pRasterAnn->GetAnnProtractorUnit();
nPrecision = m_pRasterAnn->GetAnnProtractorPrecision();
ArcRadius = m_pRasterAnn->GetAnnProtractorArcRadius();
m_pRasterAnn->AnnSetProtractorOptions (hProt, !bAcute, 1 - nUnit + ANN_ANGLE_DEF_ABBR, "", (nPrecision + 1) % 5, ArcRadius, FALSE);
m_pRasterAnn->AnnSetShowFlags (hProt, (m_pRasterAnn->AnnGetShowFlags (hProt) + 1) % 4, FALSE);