LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
SizeMode Enumeration
See Also  
Leadtools.Multimedia Namespace : SizeMode Enumeration



The SizeMode enumeration values specify how the video window is sized within the video window frame and can be used by both the PlayCtrl and the CaptureCtrl objects.

Syntax

Visual Basic (Declaration) 
Public Enum SizeMode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As SizeMode
C# 
public enum SizeMode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class SizeMode : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
DoubleIndicates 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.
FitIndicates that the video window is maximized to fit the frame window, while maintaining the video aspect ratio.
HalfIndicates 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.
NormalIndicates 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.
StretchIndicates that the video window is stretched to completely fill the frame window.
ThreeQuarterIndicates 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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Multimedia.SizeMode

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also