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
BoundingBoxRectThe bounding box in document coordinates. Note that scroll offset of the document is ignored.
StartCharacterIndexlongThe 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.
NumCharacterslongThe 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
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
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; }