puppeteer/new-docs/puppeteer.protocol.domsnapshot.inlinetextbox.md
2020-07-13 14:01:35 +01:00

23 lines
1.4 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOMSnapshot](./puppeteer.protocol.domsnapshot.md) &gt; [InlineTextBox](./puppeteer.protocol.domsnapshot.inlinetextbox.md)
## Protocol.DOMSnapshot.InlineTextBox interface
Details of 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 InlineTextBox
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [boundingBox](./puppeteer.protocol.domsnapshot.inlinetextbox.boundingbox.md) | [DOM.Rect](./puppeteer.protocol.dom.rect.md) | The bounding box in document coordinates. Note that scroll offset of the document is ignored. |
| [numCharacters](./puppeteer.protocol.domsnapshot.inlinetextbox.numcharacters.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. |
| [startCharacterIndex](./puppeteer.protocol.domsnapshot.inlinetextbox.startcharacterindex.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. |