<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextLayoutFragment/EnumerationOptions/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:So38NSTextLayoutFragmentEnumerationOptionsV8rawValueABSu_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Creates an instance of the enumeration with the provided unsigned integer value.

```
init(rawValue: UInt)
```

## Parameters

`rawValue`

An unsigned integer that represents one of the text layout enumeration options.

## Discussion

---

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)