---
title: NSTypesetterControlCharacterAction
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nstypesettercontrolcharacteraction
---

# NSTypesetterControlCharacterAction

The following constants are possible values returned by the actionForControlCharacter(at:) method to determine the action associated with a control character.

## Declaration

```swift
struct NSTypesetterControlCharacterAction
```

## Topics

### Constants

- [zeroAdvancementAction](appkit/nstypesettercontrolcharacteraction/zeroadvancementaction.md)
- [whitespaceAction](appkit/nstypesettercontrolcharacteraction/whitespaceaction.md)
- [horizontalTabAction](appkit/nstypesettercontrolcharacteraction/horizontaltabaction.md)
- [lineBreakAction](appkit/nstypesettercontrolcharacteraction/linebreakaction.md)
- [paragraphBreakAction](appkit/nstypesettercontrolcharacteraction/paragraphbreakaction.md)
- [containerBreakAction](appkit/nstypesettercontrolcharacteraction/containerbreakaction.md)

### Initializers

- [init(rawValue:)](appkit/nstypesettercontrolcharacteraction/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Deprecated

- [actionForControlCharacter(at:)](appkit/nstypesetter/actionforcontrolcharacter(at:).md)
- [deleteGlyphs(in:)](appkit/nstypesetter/deleteglyphs(in:).md)
- [substituteGlyphs(in:withGlyphs:)](appkit/nstypesetter/substituteglyphs(in:withglyphs:).md)
- [getGlyphs(in:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:)](appkit/nstypesetter/getglyphs(in:glyphs:characterindexes:glyphinscriptions:elasticbits:bidilevels:).md)
- [insertGlyph(_:atGlyphIndex:characterIndex:)](appkit/nstypesetter/insertglyph(_:atglyphindex:characterindex:).md)
