AnnSetPolyFillMode Example for Visual C++
short nNodes;
VARIANT_BOOL bShow;
long nCount;
m_pRasterAnn->AnnSetFillPattern (hPlgn, (m_pRasterAnn->AnnGetFillPattern (hPlgn) + 1) % 7, FALSE);
m_pRasterAnn->AnnSetFillMode (hPlgn, (m_pRasterAnn->AnnGetFillMode (hPlgn) + 1) % 3, FALSE);
m_pRasterAnn->AnnSetPolyFillMode (hPlgn, 1 - m_pRasterAnn->AnnGetPolyFillMode (hPlgn), FALSE);
m_pRasterAnn->AnnSetLineStyle (hPlgn, (m_pRasterAnn->AnnGetLineStyle (hPlgn) + 1) % 6, FALSE);
m_pRasterAnn->AnnSetLineWidth (hPlgn, float(int(m_pRasterAnn->AnnGetLineWidth (hPlgn)) % 4 + 1), FALSE);
nNodes = m_pRasterAnn->AnnGetNodes (hPlgn);
bShow = m_pRasterAnn->GetAnnShowNodes();
m_pRasterAnn->AnnGetPointCount (hPlgn);
nCount = m_pRasterAnn->GetAnnPointCount();
m_pRasterAnn->AnnSetNodes (hPlgn, !bShow, short((nNodes + 1) % nCount), FALSE);