Table of Contents

Property Category

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

Category

Gets the semantic layout category of this element (title, text, table, formula, figure, caption, ...), when the extraction source classifies regions. Sources without layout classification report Unknown.

[JsonPropertyName("Category")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public LayoutElementCategory Category { get; }

Property Value

LayoutElementCategory

Remarks

Layout-aware OCR engines such as VlmOcr running a document-parsing model populate this value for every detected region. The category also determines the format of Text for such sources: Table elements carry HTML, Formula elements carry LaTeX, and Figure elements carry no text at all.

Share