Contents

Orientation

Asset orientation and aspect ratio classification.

Declaration

string Orientation

Possible Values

PORTRAIT

The asset is taller than it is wide (height > width).

LANDSCAPE

The asset is wider than it is tall (width > height).

SQUARE

The asset has equal width and height.

Discussion

The Orientation classifies the aspect ratio of an image or video asset. The system determines the value from the asset’s pixel dimensions when you upload the asset, and returns it as part of the Asset record.

See Also