Share via


IDVDRenderer::SetDisplayAspectRatio

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method sets the output display aspect ratio to 4:3 or 16:9.

Syntax

HRESULT SetDisplayAspectRatio(
  EDVDDisplayAspectRatio enumDisplayAspectRatio
);

Parameters

  • enumDisplayAspectRatio
    [in] The following are the two possible values for this parameter.

    Value Description

    DISPLAY_ASPECT_4_3

    Aspect ratio set to 4:3.

    DISPLAY_ASPECT_16_9_DOWNSAMPLE_4_3

    Horizontal Letterbox. The renderer downsamples the decoded 4:3 input stream horizontally and displays the left and right borders as solid color.

Return Value

If the method completes successfully, the return value is S_OK.

Requirements

Header dvddrvr.idl
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

EDVDDisplayAspectRatio
IDVDRenderer