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

HorizontalDataAlignment

Grooper.Extract

Specifies the horizontal alignment requirements for elements of a vertical array.

Remarks

The HorizontalDataAlignment enumeration controls how elements must be horizontally aligned to be considered part of the same vertical array when using the Vertical layout provider.

This setting is critical for accurately extracting columns from tables, lists, or other vertically arranged data, especially in documents where alignment may not be perfect due to scanning, formatting, or layout inconsistencies.

How It Works

  • The selected value(s) determine which part of each element (left, center, or right) is compared for alignment.
  • The 'Alignment Tolerance' property specifies how much horizontal misalignment is allowed.
  • Multiple alignment modes can be combined using flags, allowing for flexible matching.

Configuration Guidance

  • Use 'Any' for loosely aligned data, such as lists or columns with variable widths.
  • Use 'Left', 'Center', or 'Right' for structured tables or forms where fields are expected to align on a specific edge or centerline.
  • Adjust 'Alignment Tolerance' to accommodate minor misalignments.

Example

If extracting a table where all cells are left-aligned, set the alignment to Left. If cells may be center- or right-aligned, combine flags as needed (e.g., Left | Center).

A combination of the following flags:

NameValueDescription

Used By

Notification