AnnSetFontItalic example for C++ Builder
void TForm1::TestAnnFontItalic ( HANNOBJECT hAnnObject )
{
bool IsItalic; /* Is the object’s text italic */
/* Set the font to italic, unless it already is */
LEADAnn1->AnnGetFontItalic ( hAnnObject, IsItalic );
if ( IsItalic )
ShowMessage ( "Already Italic" );
else
LEADAnn1->AnnSetFontItalic ( hAnnObject, true, false );
return;
}