SizeMode Enumeration (original) (raw)

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

public enum class SizeMode   

Members

Value Member Description
0 Fit Indicates that the video window is maximized to fit the frame window, while maintaining the video aspect ratio.
1 Stretch Indicates that the video window is stretched to completely fill the frame window.
2 Normal 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 ThreeQuarter 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 Half 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 Double 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.