Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.27
LEADTOOLS Media Foundation Help

ltmfSizeMode Constants

Show in webframe

typedef enum _ltmfSizeMode
{
   ltmfFit,
   ltmfStretch,
   ltmfNormal,
   ltmfThreeQuarter,
   ltmfHalf,
   ltmfDouble,
   } ltmfSizeMode;

The ltmfSizeMode constants specify how the video window is sized within the video window frame.

Constant

Description

ltmfFit

[0] Indicates that the video window is maximized to fit the frame window, while maintaining the video aspect ratio.

ltmfStretch

[1] Indicates that the video window is stretched to completely fill the frame window.

ltmfNormal

[2] Indicates that the video window is displayed with no scaling. However, if the frame window is smaller than the video size, the video window will be reduced to fit the frame.

ltmfThreeQuarter

[3] Indicates that the video window is displayed at 75% its normal size. However, if the frame window is smaller than the video size, the video window will be reduced to fit the frame.

ltmfHalf

[4] Indicates that the video window is displayed at 50% its normal size. However, if the frame window is smaller than the video size, the video window will be reduced to fit the frame.

ltmfDouble

[5] Indicates that the video window is displayed at 200% its normal size. However, if the frame window is smaller than the video size, the video window will be reduced to fit the frame.

See Also

IltmfPlay::get_VideoWindowSizeMode

IltmfPlay::put_VideoWindowSizeMode

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.