Table of Contents

Class TextBoxSnapshot

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

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

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

Constructors

TextBoxSnapshot(ImmutableArray<long>, ImmutableArray<ImmutableArray<double>>, ImmutableArray<long>, ImmutableArray<long>)

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

public TextBoxSnapshot(ImmutableArray<long> LayoutIndex, ImmutableArray<ImmutableArray<double>> Bounds, ImmutableArray<long> Start, ImmutableArray<long> Length)

Parameters

LayoutIndex ImmutableArray<long>

Index of the layout tree node that owns this box collection.

Bounds ImmutableArray<ImmutableArray<double>>

The absolute position bounding box.

Start ImmutableArray<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.

Length ImmutableArray<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

Bounds

The absolute position bounding box.

public ImmutableArray<ImmutableArray<double>> Bounds { get; init; }

Property Value

ImmutableArray<ImmutableArray<double>>

LayoutIndex

Index of the layout tree node that owns this box collection.

public ImmutableArray<long> LayoutIndex { get; init; }

Property Value

ImmutableArray<long>

Length

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 ImmutableArray<long> Length { get; init; }

Property Value

ImmutableArray<long>

Start

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 ImmutableArray<long> Start { get; init; }

Property Value

ImmutableArray<long>