---
title: "widthValueType(for:rectEdge:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstextblock/widthvaluetype(for:rectedge:)"
---

# widthValueType(for:rectEdge:)

## Declaration

```swift
func widthValueType(for layer: NSTextBlock.Layer, rectEdge: CGRectEdge) -> NSTextBlock.ValueType
```
