The ltmfSizeMode constants specify how the video window is sized within the video window frame.
typedef enum _ltmfSizeMode
{
ltmfFit,
ltmfStretch,
ltmfNormal,
ltmfThreeQuarter,
ltmfHalf,
ltmfDouble,
} ltmfSizeMode;
[0] Indicates that the video window is maximized to fit the frame window, while maintaining the video aspect ratio.
[1] Indicates that the video window is stretched to completely fill the frame window.
[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.
[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.
[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.
[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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document