Table of Contents

Property Bounds

Namespace
LMKit.Extraction
Assembly
LM-Kit.NET.dll

Bounds

Gets the bounding quadrilateral of this element in the source document, when layout information is available.

public Quadrilateral Bounds { get; }

Property Value

Quadrilateral

A Quadrilateral describing the element's position in page coordinates, or Empty when the source location could not be resolved (e.g. plain-text input without layout data).

Examples

var bounds = element.Bounds;
if (!bounds.IsEmpty)
{
    Console.WriteLine($"Found at ({bounds.TopLeft.X}, {bounds.TopLeft.Y})");
}