---
title: CTLineBoundsOptions
framework: coretext
role: symbol
role_heading: Structure
path: coretext/ctlineboundsoptions
---

# CTLineBoundsOptions

Options for getting the bounds of a line of text.

## Declaration

```swift
struct CTLineBoundsOptions
```

## Overview

Overview Passing 0 (no options) returns the typographic bounds, including typographic leading and shifts.

## Topics

### Line Bounds Options

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

### Initializers

- [init(rawValue:)](coretext/ctlineboundsoptions/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

### Enumerations

- [CTFontDescriptorMatchingState](coretext/ctfontdescriptormatchingstate.md)
- [CTFontManagerAutoActivationSetting](coretext/ctfontmanagerautoactivationsetting.md)
- [CTFontManagerError](coretext/ctfontmanagererror.md)
- [CTFontManagerScope](coretext/ctfontmanagerscope.md)
- [CTRubyAlignment](coretext/ctrubyalignment.md)
- [CTRubyOverhang](coretext/ctrubyoverhang.md)
- [CTRubyPosition](coretext/ctrubyposition.md)
