Share via


IDVDRenderer::SetAspectRatioMode

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 renderer choice of presentation when input material is formatted to 16:9, while the output device is set to 4:3.

Syntax

HRESULT SetAspectRatioMode(
  EDVDAspectRatioMode enumAspectRatioMode
);

Parameters

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

    Value Description

    DVD_ASPECT_RATIO_MODE_LETTERBOX

    Informs the renderer that the preferred display is letterbox.

    DVD_ASPECT_RATIO_MODE_PANSCAN

    Informs the renderer that the preferred display is pan and scan.

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

EDVDAspectRatioMode
IDVDRenderer