AnnSetFillMode example for C++ Builder
void TForm1::TestAnnFillMode ( HANNOBJECT hAnnObject )
{
L_UINT uFillMode; /* Object fill mode */
/* Set the fill mode to transparent, unless it already is */
LEADAnn1->AnnGetFillMode ( hAnnObject, uFillMode );
if ( uFillMode == ANNFILLMODE_TRANSPARENT )
ShowMessage ( "Already transparent" );
else
LEADAnn1->AnnSetFillMode ( hAnnObject, ANNFILLMODE_TRANSPARENT, false );
}