---
title: useHangingPunctuation
framework: coretext
role: symbol
role_heading: Type Property
path: coretext/ctlineboundsoptions/usehangingpunctuation
---

# useHangingPunctuation

An option to enable hanging punctuation.

## Declaration

```swift
static var useHangingPunctuation: CTLineBoundsOptions { get }
```

## Discussion

Discussion The result of this option moves standard punctuation, such as periods, commas, hyphens, dashes, quotation marks, and asterisks, into the margin of either end of text, to give the appearance of a more uniform vertical alignment. Consider using this option when the text is fully justified.

## See Also

### Line Bounds Options

- [excludeTypographicLeading](coretext/ctlineboundsoptions/excludetypographicleading.md)
- [excludeTypographicShifts](coretext/ctlineboundsoptions/excludetypographicshifts.md)
- [includeLanguageExtents](coretext/ctlineboundsoptions/includelanguageextents.md)
- [useGlyphPathBounds](coretext/ctlineboundsoptions/useglyphpathbounds.md)
- [useOpticalBounds](coretext/ctlineboundsoptions/useopticalbounds.md)
