Table of Contents

Class LineElement

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

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

public sealed class LineElement : ILayoutElement, IBounds
Inheritance
LineElement
Implements
Inherited Members

Remarks

A LineElement aggregates one or more word-level items (see Words) and exposes their combined text as well as the union of their geometry via GetBoundingBox. Coordinates are expressed in the layout engine’s coordinate system.

Properties

Bottom

Gets the maximum Y coordinate of the line’s bounding box.

Bounds

Returns the line’s bounding quadrilateral.

Height

Gets the height of the line’s bounding box.

Left

Gets the minimum X coordinate of the line’s bounding box.

Right

Gets the maximum X coordinate of the line’s bounding box.

Text

Gets the full text content of the line.

Top

Gets the minimum Y coordinate of the line’s bounding box.

Width

Gets the width of the line’s bounding box.

Words

Gets the ordered collection of word-level items that compose this line.

Methods

ToString()

See Also