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
LayoutIndexImmutableArray<long>Index of the layout tree node that owns this box collection.
BoundsImmutableArray<ImmutableArray<double>>The absolute position bounding box.
StartImmutableArray<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.
LengthImmutableArray<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
LayoutIndex
Index of the layout tree node that owns this box collection.
public ImmutableArray<long> LayoutIndex { get; init; }
Property Value
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
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; }