Skip to content

/AWS1/CL_MDIASPECTRATIO

The width and height of the output video. Used in SubtitlingConfig to determine subtitle layout.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_width TYPE /AWS1/MDIINTEGER /AWS1/MDIINTEGER

The width component of the aspect ratio (for example, 16 in a 16:9 ratio).

iv_height TYPE /AWS1/MDIINTEGER /AWS1/MDIINTEGER

The height component of the aspect ratio (for example, 9 in a 16:9 ratio).


Queryable Attributes

width

The width component of the aspect ratio (for example, 16 in a 16:9 ratio).

Accessible with the following methods

Method Description
GET_WIDTH() Getter for WIDTH, with configurable default
ASK_WIDTH() Getter for WIDTH w/ exceptions if field has no value
HAS_WIDTH() Determine if WIDTH has a value

height

The height component of the aspect ratio (for example, 9 in a 16:9 ratio).

Accessible with the following methods

Method Description
GET_HEIGHT() Getter for HEIGHT, with configurable default
ASK_HEIGHT() Getter for HEIGHT w/ exceptions if field has no value
HAS_HEIGHT() Determine if HEIGHT has a value