display.viewableContentHeight

Type Number
Library display.*
Revision Release 2024.3703
Keywords contentHeight
See also display.viewableContentWidth

Overview

A read-only property that contains the height of the viewable screen area in content coordinates.

This is useful since, depending on the content scaling mode and the aspect ratio of the device, some of the original content may be scaled in such a way that portions are off screen.