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#
C++/CLI
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 its 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 its 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 its 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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.