<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/layout-options",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Layout Options"
}
-->

# Layout Options

Layout options returned as a bit mask by the [`layoutOptions()`](/documentation/AppKit/NSGlyphStorage/layoutOptions()) method.

## Topics

### Constants

[`var NSShowControlGlyphs: Int`](/documentation/AppKit/NSShowControlGlyphs)

Generates displayable glyphs for control characters.

[`var NSShowInvisibleGlyphs: Int`](/documentation/AppKit/NSShowInvisibleGlyphs)

Generates displayable glyphs for invisible characters.

[`var NSWantsBidiLevels: Int`](/documentation/AppKit/NSWantsBidiLevels)

Generates directional formatting codes for bidirectional text.



---

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)