Table of Contents

Class ParsedBlock

Namespace
LMKit.Document.Parsing
Assembly
LM-Kit.NET.dll

A layout block of a parsed page: elements the page sets as one group (the entries of a list, a label-value block, a caption over several lines, a column of contents, a label and its value on one row), with the box they share and the probability that they do form one group. A block is a level of the page's layout above its elements and never replaces them: its members stay on the page, each in its own place in the reading order, and the page's rendering does not read blocks.

public sealed class ParsedBlock
Inheritance
ParsedBlock
Inherited Members

Properties

Bounds

The union of the members' bounds, in the page's coordinate frame, top-left origin.

Kind

How the members are set: one under another, or side by side on one row.

Likelihood

The probability, in [0, 1], that the members form one group of the page; NaN when none is estimated.

Members

The elements the block groups, two or more, in the page's reading order; each is one of the page's Elements, so the last member is where the block ends in the reading.

Text

The members' text in reading order without heading marks: one member per line in a column, the members of a row on one line.

Share