LEADTOOLS Multimedia API Help > LEADTOOLS Multimedia Features > Multimedia File Formats > Multimedia Format and Media Constants > ltmmPlay Enumeration Constants > ltmmSizeMode Constants |
typedef enum _ltmmSizeMode
{
ltmmFit,
ltmmStretch,
ltmmNormal,
ltmmThreeQuarter,
ltmmHalf,
ltmmDouble,
} ltmmSizeMode;
The ltmmSizeMode constants specify how the video window is sized within the video window frame.
Constant |
Description |
ltmmFit |
[0] Indicates that the video window is maximized to fit the frame window, while maintaining the video aspect ratio. |
ltmmStretch |
[1] Indicates that the video window is stretched to completely fill the frame window. |
ltmmNormal |
[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. |
ltmmThreeQuarter |
[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. |
ltmmHalf |
[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. |
ltmmDouble |
[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
IltmmPlay::get_VideoWindowSizeMode
IltmmPlay::put_VideoWindowSizeMode