SetSampleAspectRatio Data Member Function

Sets the sample aspect ratio used to display the video.

Prototype

int32 SetSampleAspectRatio( int32 p_nX, int32 p_nY )

Parameters

Parameter Type Parameter Name Documentation
int32p_nXThe width aspect ratio value. For example, use 16 for this value to set the sample aspect ratio to 16:N.
int32p_nYThe height aspect ratio value. For example, use 9 for this value to set the sample aspect ratio to N:9.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.