<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BETextDocumentRequest/Options-swift.struct/textRects",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:@E@BETextDocumentRequestOptions@BETextDocumentOptionTextRects"
  },
  "title" : "textRects"
}
-->

# textRects

An option that requests the rectangular bounds of text within a document’s layout.

```
static var textRects: BETextDocumentRequest.Options { get }
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)