AnnAutoDialogFontSize Example for C++ 5.0 and later

For more information on declaration and unlocking procedures used in testing this example, refer to Annotation Declaration Information.

//This example will set the dialog fonts to use Courier 15
void CTutorDlg::OnAnnAutoDialogFontSize() 
{
   m_pRasterAnn->AnnSetAutoText (ANN_AUTOTEXT_DIALOG_FONT, "Courier New");
   m_pRasterAnn->PutAnnAutoDialogFontSize(15);
}