ParagraphOptions Example for C++ 5.0 and later
void CSample_COMDlg::OnButton35()
{
pRasterDoc->GetRecognitionResultOptions ();
// Update Paragraph Options....
pRasterDoc->GetResultOptions ()->GetParagraphOptions ()->SpaceBeforeMode = SELPREDEFINED;
pRasterDoc->GetResultOptions ()->GetParagraphOptions ()->SpaceBefore = 2;
pRasterDoc->GetResultOptions ()->GetParagraphOptions ()->ParagraphIndentMode = SELPREDEFINED;
pRasterDoc->GetResultOptions()->GetParagraphOptions ()->FirstLineIndent = 2;
pRasterDoc->GetResultOptions()->GetParagraphOptions ()->LineSpacingMode = SELPREDEFINED;
pRasterDoc->GetResultOptions()->GetParagraphOptions ()->LineSpacing = LINE_SPACE_ONE;
pRasterDoc->GetResultOptions()->GetParagraphOptions ()->AlignmentMode = SELPREDEFINED;
pRasterDoc->GetResultOptions()->GetParagraphOptions ()->Alignment = ALIGN_LEFT;
pRasterDoc->SetRecognitionResultOptions ();
}