Table of Contents

Class InlineTextBox

Namespace
Selenium.WebDriver.BiDi.Cdp.DOMSnapshot
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.

public sealed record InlineTextBox : IEquatable<InlineTextBox>
Inheritance
InlineTextBox
Implements
Inherited Members

Constructors

InlineTextBox(Rect, long, long)

Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.

public InlineTextBox(Rect BoundingBox, long StartCharacterIndex, long NumCharacters)

Parameters

BoundingBox Rect

The bounding box in document coordinates. Note that scroll offset of the document is ignored.

StartCharacterIndex long

The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.

NumCharacters long

The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.

Properties

BoundingBox

The bounding box in document coordinates. Note that scroll offset of the document is ignored.

public Rect BoundingBox { get; init; }

Property Value

Rect

NumCharacters

The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.

public long NumCharacters { get; init; }

Property Value

long

StartCharacterIndex

The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.

public long StartCharacterIndex { get; init; }

Property Value

long