Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Row Alignment Settings

Grooper Object Grooper.Extract

Defines settings that control how table rows are aligned relative to each other during extraction.

Remarks

The Row Alignment Settings class allows you to specify alignment requirements for table rows when using Row Match extraction methods. By configuring these settings, you can ensure that only rows which are properly aligned (left, center, right, or any) are included in the extracted table, helping to filter out misaligned or unrelated content.

Alignment is determined by comparing the horizontal positions of consecutive rows. You can specify which alignment(s) are required (such as left-aligned or center-aligned), and set a tolerance value to allow for minor variations in position. This is especially useful for documents where table rows may not be perfectly aligned due to scanning artifacts, inconsistent formatting, or other layout issues.

Usage Guidance

  • Use Row Alignment Settings to improve extraction accuracy in documents where row alignment is a distinguishing feature of valid table rows.
  • Adjust the 'Alignment' property to require left, center, right, or any alignment between rows.
  • Set the 'Tolerance' property to control how much deviation is allowed from the specified alignment. This helps accommodate small shifts or imperfections in the document layout.
  • If alignment is not important for your table, you can leave these settings unset or use the 'Any' alignment option.

Proper configuration of these settings can help prevent the inclusion of unrelated or misaligned content as table rows, especially in complex or noisy documents.

Properties

NameTypeDescription

Used By

Notification