←Select platform

SizeMode Enumeration

Summary

Specifies how the video window is sized within the video window frame. Used by both the PlayCtrl and the CaptureCtrl objects.

Syntax

C#
VB
C++
public enum SizeMode 
Public Enum SizeMode  
    
    
public enum class SizeMode   

Members

ValueMemberDescription
0x00000000Fit Indicates that the video window is maximized to fit the frame window, while maintaining the video aspect ratio.
0x00000001Stretch Indicates that the video window is stretched to completely fill the frame window.
0x00000002Normal 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.
0x00000003ThreeQuarter Indicates that the video window is displayed at 75 it's normal size. However, if the frame window is smaller than the video size, the video window will be reduced to fit the frame.
0x00000004Half Indicates that the video window is displayed at 50 it's normal size. However, if the frame window is smaller than the video size, the video window will be reduced to fit the frame.
0x00000005Double Indicates that the video window is displayed at 200 it's normal size. However, if the frame window is smaller than the video size, the video window will be reduced to fit the frame.
Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly