←Select platform

SizeMode Enumeration

Summary

Specifies how the video window is sized within the video window frame and can be 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
0FitIndicates that the video window is maximized to fit the frame window, while maintaining the video aspect ratio.
1StretchIndicates that the video window is stretched to completely fill the frame window.
2NormalIndicates 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.
3ThreeQuarterIndicates 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.
4HalfIndicates 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.
5DoubleIndicates 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

See Also

Reference

Leadtools.Multimedia Namespace

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

Leadtools.Multimedia Assembly