---
title: "headerRect(ofColumn:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableheaderview/headerrect(ofcolumn:)"
---

# headerRect(ofColumn:)

Returns the rectangle containing the header tile for the column at columnIndex.

## Declaration

```swift
func headerRect(ofColumn column: Int) -> NSRect
```

## Discussion

Discussion Raises an NSInternalInconsistencyException if columnIndex is out of bounds.

## See Also

### Related Documentation

- [rect(ofColumn:)](appkit/nstableview/rect(ofcolumn:).md)

### Utility methods

- [column(at:)](appkit/nstableheaderview/column(at:).md)
