Microsoft DirectX 9.0 |
The stretchmode attribute specifies how to stretch an image that does not match the output dimensions.
Possible Values
Must have one of the following values.
stretch
: The image is stretched to fit the output frame size without preserving aspect ratio. (Default)crop
: The image is cropped to fit the output frame size.preserveaspectratio
: The original aspect ratio is preserved, with a black letterbox along the shorter dimension.preserveaspectrationoletterbox
: The image is resized to fill the entire target frame while preserving the aspect ratio.Applies To
See Also