---
title: orientation
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/orientation
---

# orientation

The orientation of the data.

## Declaration

```swift
var orientation: NSNumber? { get set }
```

## Discussion

Discussion When the value of this property is 1, the orientation is portrait; when the value is 0, the orientation is landscape.

## See Also

### Describing images

- [isoSpeed](corespotlight/cssearchableitemattributeset/isospeed.md)
- [acquisitionMake](corespotlight/cssearchableitemattributeset/acquisitionmake.md)
- [acquisitionModel](corespotlight/cssearchableitemattributeset/acquisitionmodel.md)
- [aperture](corespotlight/cssearchableitemattributeset/aperture.md)
- [bitsPerSample](corespotlight/cssearchableitemattributeset/bitspersample.md)
- [cameraOwner](corespotlight/cssearchableitemattributeset/cameraowner.md)
- [colorSpace](corespotlight/cssearchableitemattributeset/colorspace.md)
- [flashOn](corespotlight/cssearchableitemattributeset/flashon.md)
- [focalLength](corespotlight/cssearchableitemattributeset/focallength.md)
- [focalLength35mm](corespotlight/cssearchableitemattributeset/focallength35mm.md)
- [layerNames](corespotlight/cssearchableitemattributeset/layernames.md)
- [lensModel](corespotlight/cssearchableitemattributeset/lensmodel.md)
- [pixelCount](corespotlight/cssearchableitemattributeset/pixelcount.md)
- [pixelHeight](corespotlight/cssearchableitemattributeset/pixelheight.md)
- [pixelWidth](corespotlight/cssearchableitemattributeset/pixelwidth.md)
