AnnSetShowFlags example for C++ Builder
void TForm1::AnnSetShowFlags(HANNOBJECT hProt)
{
float fArcRadius;
bool bAcute;
L_INT nUnit;
L_INT nPrecision;
AnsiString strAbbr;
L_UINT uShowFlags;
fArcRadius= 0;
bAcute= true;
nUnit= 0;
nPrecision= 0;
uShowFlags= 0;
LEADAnn1->AnnGetProtractorOptions(hProt,
bAcute, nUnit, strAbbr, nPrecision, fArcRadius);
LEADAnn1->AnnSetProtractorOptions(hProt,
(bAcute == False), 1 - ANNANGLE_DEGREES, strAbbr, (nPrecision + 1) % 5,
fArcRadius, False);
LEADAnn1->AnnGetShowFlags(hProt,
uShowFlags);
LEADAnn1->AnnSetShowFlags(hProt,
(uShowFlags+ 1) % 4, false);
}