<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNText/textSize",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNText(py)textSize"
  },
  "title" : "textSize"
}
-->

# textSize

The two-dimensional extent of the text after layout.

```
var textSize: CGSize { get }
```

## Discussion

This property reports the size of the smallest bounding rectangle containing the text.

This size does not necessarily match that of the layout rectangle specified by the [`containerFrame`](/documentation/SceneKit/SCNText/containerFrame) property. A long body of text may overflow the layout rectangle, depending on the values of the [`isWrapped`](/documentation/SceneKit/SCNText/isWrapped) and [`truncationMode`](/documentation/SceneKit/SCNText/truncationMode) properties, and a short string of text may fit in an area smaller than the layout rectangle.

---

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)