Skip to content

TAspectRatio

type

TAspectRatio = (ar_Box, ar_NoResize, ar_Stretch, ar_PanScan);

TAspectRatio type.

Value Description
ar_Box the video appears in full within the control in a letterbox (bars on the top and the bottom) or pillarbox (bars on the left and the right)
ar_NoResize the video appears in its "native" size. If the native size is larger than then control, it appears centered within the control. If the native size is larger than the control, the video appears truncated.
ar_Stretch the video is stretched as needed to fill the control
ar_PanScan the video may be panned or scanned, according to the Display_PanScanRatio value (in the 0..100 range, default value 50).