ParagraphOptions Example for Visual Basic

Private Sub Command33_Click()
   RasterDoc.RecognitionResultOptions

   ' Update Paragraph Options.... 
   RasterDoc.ResultOptions.ParagraphOptions.SpaceBeforeMode = SELPREDEFINED
   RasterDoc.ResultOptions.ParagraphOptions.SpaceBefore = 2
   RasterDoc.ResultOptions.ParagraphOptions.ParagraphIndentMode = SELPREDEFINED
   RasterDoc.ResultOptions.ParagraphOptions.FirstLineIndent = 2
   RasterDoc.ResultOptions.ParagraphOptions.LineSpacingMode = SELPREDEFINED
   RasterDoc.ResultOptions.ParagraphOptions.LineSpacing = LINE_SPACE_ONE
   RasterDoc.ResultOptions.ParagraphOptions.AlignmentMode = SELPREDEFINED
   RasterDoc.ResultOptions.ParagraphOptions.Alignment = ALIGN_LEFT

   RasterDoc.SetRecognitionResultOptions
End Sub