24 lines
1.6 KiB
Markdown
24 lines
1.6 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOMSnapshot](./puppeteer.protocol.domsnapshot.md) > [TextBoxSnapshot](./puppeteer.protocol.domsnapshot.textboxsnapshot.md)
|
||
|
|
||
|
## Protocol.DOMSnapshot.TextBoxSnapshot interface
|
||
|
|
||
|
Table of details of the post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface TextBoxSnapshot
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [bounds](./puppeteer.protocol.domsnapshot.textboxsnapshot.bounds.md) | [Rectangle](./puppeteer.protocol.domsnapshot.rectangle.md)<!-- -->\[\] | The absolute position bounding box. |
|
||
|
| [layoutIndex](./puppeteer.protocol.domsnapshot.textboxsnapshot.layoutindex.md) | [integer](./puppeteer.protocol.integer.md)<!-- -->\[\] | Index of the layout tree node that owns this box collection. |
|
||
|
| [length](./puppeteer.protocol.domsnapshot.textboxsnapshot.length.md) | [integer](./puppeteer.protocol.integer.md)<!-- -->\[\] | 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. |
|
||
|
| [start](./puppeteer.protocol.domsnapshot.textboxsnapshot.start.md) | [integer](./puppeteer.protocol.integer.md)<!-- -->\[\] | 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. |
|
||
|
|