Pointer to the maximum vertical size of the video frame
Return Values
S_OK
Success
E_FAIL
Failure
Example
This VB example uses the minimum video width and height to initialize slider controls:
Private SubForm_Load() Slider1.Min = 0
Slider1.Max = ActiveDcam1.GetWidth
Slider2.Min = 0
Slider2.Max = ActiveDcam1.GetHeight
Slider1.Value = ActiveDcam1.SizeX
Slider2.Value = ActiveDcam1.SizeY
End Sub
Remarks
This method allows you to determine the maximum size of the video frame in a user-defined format. If the currently selected format is a fixed one, the value returned by the method will be identical to the value returned by the SizeY property. See Format for more details.