Table of Contents

Method DetectReadingParagraphs

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

DetectReadingParagraphs()

Detects the page's paragraphs in the order its Markdown conversion reads them: the same column and row order, every table the conversion recognizes read cell by cell and row by row with each cell a paragraph of its own, and a field label written with the value set beside it. A consumer that follows the page's text in order (text selection, copy, extraction, an overlay numbering the blocks) reads it as the Markdown is written.

public List<ParagraphElement> DetectReadingParagraphs()

Returns

List<ParagraphElement>

The paragraphs in reading order. Every word of DetectParagraphs() appears in exactly one of them; a word the Markdown does not write keeps its place after the written word that precedes it in DetectParagraphs(). A page whose text carries no position (a transcription without a layout) returns DetectParagraphs() as it is.

Share