---
title: "CTTextTabGetAlignment(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/cttexttabgetalignment(_:)"
---

# CTTextTabGetAlignment(_:)

Returns the text alignment of the tab.

## Declaration

```swift
func CTTextTabGetAlignment(_ tab: CTTextTab) -> CTTextAlignment
```

## Parameters

- `tab`: The tab whose text alignment is obtained.

## Return Value

Return Value The tab’s text alignment value.

## See Also

### Getting Text Tab Data

- [CTTextTabGetLocation(_:)](coretext/cttexttabgetlocation(_:).md)
- [CTTextTabGetOptions(_:)](coretext/cttexttabgetoptions(_:).md)
