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

LayoutElementCategory

Identifies the semantic role of a layout element on a page, as reported by a layout-aware extraction source such as a document-parsing vision-language model.

ParagraphTextDirection

Coarse paragraph flow direction inferred from dominant text angle.

TextOutputMode

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

Share