---
title: maximumNumberOfColumns
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfthumbnailview/maximumnumberofcolumns
---

# maximumNumberOfColumns

Returns the maximum number of columns of thumbnails the thumbnail view can display.

## Declaration

```swift
var maximumNumberOfColumns: Int { get set }
```

## Return Value

Return Value The maximum number of columns of thumbnails the thumbnail view can display. If 0, the thumbnail displays as many columns of thumbnails as fit in its size.

## See Also

### Working with Thumbnail View Display Characteristics

- [labelFont](pdfkit/pdfthumbnailview/labelfont.md)
- [backgroundColor](pdfkit/pdfthumbnailview/backgroundcolor.md)
