GetHeightMax
Top  Previous  Next

Description

Returns the maximum available vertical size of the video frame.


Syntax


[VB]
Value=objActiveGige.GetHeightMax()


[C/C++]
HRESULT GetHeightMax(long* pValue );


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out, retval]  
Pointer to the maximum vertical size of the video frame  


Return Values


S_OK  
Success  
E_FAIL  
Failure  
 

Example


This VB example uses the maximum video width and height to initialize slider controls:

Private Sub
 Form_Load()

Slider1.Min = 0
Slider1.Max = ActiveGige1.GetWidthMax
Slider2.Min = 0
Slider2.Max = ActiveGige1.GetHeightMax
Slider1.Value = ActiveGige1.SizeX
Slider2.Value = ActiveGige1.SizeY
End Sub

 

Remarks


This method allows you to determine the maximum height of the video frame for the currently selected horizontal Binning and Decimation. If Binning and Decimation are set to 1, the maximum height of the video frame is typically equal to the vertical resolution of the sensor.