

# AspectRatio
<a name="API_AspectRatio"></a>

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

## Contents
<a name="API_AspectRatio_Contents"></a>

 ** height **   <a name="elementalinference-Type-AspectRatio-height"></a>
The height component of the aspect ratio (for example, 9 in a 16:9 ratio).  
Type: Integer  
Required: Yes

 ** width **   <a name="elementalinference-Type-AspectRatio-width"></a>
The width component of the aspect ratio (for example, 16 in a 16:9 ratio).  
Type: Integer  
Required: Yes

## See Also
<a name="API_AspectRatio_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/elementalinference-2018-11-14/AspectRatio) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elementalinference-2018-11-14/AspectRatio) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elementalinference-2018-11-14/AspectRatio) 