Table of Contents

Namespace LMKit.Document.Layout

Classes

LineElement

Represents a single, laid-out line of text within a document.

PageElement

Represents the content of a single page, including its textual elements and a plain text aggregation. Typically used for layout-aware extraction results from documents such as PDFs or OCR-processed images.

ParagraphElement

Represents a paragraph in a document layout.

TextElement

Represents a textual element optionally associated with a bounding box. Suitable for layout-aware text extraction from OCR engines, documents, or other structured sources.

TextRegion

A region of text in a document: its character-span and (optional) 2D layout bounds.

Interfaces

ILayoutElement

Represents a layout element that exposes its geometric bounds in document coordinates.

Enums

ParagraphTextDirection

Coarse paragraph flow direction inferred from dominant text angle.

TextOutputMode

Controls how extracted text is aggregated and formatted when exported as plain text.