SetHandPrintOptions Example for C++ 5.0 and later

void CSample_COMDlg::OnButton18()
{
   pRasterDoc->GetHandPrintOptions();

   if (pRasterDoc->GetHandPrintModuleOptions ()->Style!= HANDSTYLE_US) 
      pRasterDoc->GetHandPrintModuleOptions ()->Style = HANDSTYLE_US; 

   pRasterDoc->GetHandPrintModuleOptions ()->EnableSpace = FALSE; 
   pRasterDoc->GetHandPrintModuleOptions ()->CharacterHeight = 6; 
   pRasterDoc->GetHandPrintModuleOptions ()->CharacterWidth = 4; 
   pRasterDoc->GetHandPrintModuleOptions ()->CharacterSpace  = 1; 

   pRasterDoc->SetHandPrintOptions ();
}