ScrollX
Top  Previous  Next

Description

Returns or sets the current horizontal scroll position for the live video display.


Syntax


[VB]
objActiveGige.ScrollX [= Value]


[C/C++]
HRESULT get_ScrollX( long *pScrollX );
HRESULT put_ScrollX( long ScrollX );



Data Type
[VB]

Long


Parameters
[C/C++]

pScrollX [out,retval]  
Pointer to the current horizontal scroll position.  
ScrollX [in]  
The horizontal scroll position to be set.  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  
E_INVALIDARG  
Invalid property value.  
 

Example


This VB example sets the current horizontal scroll position to 512:

ActiveGige1.ScrollX = 512
MsgBox ActiveGige1.ScrollX
 

Remarks


The ScrollX property is only valid if the ScrollBars are present in the control window.

Note that the value returned by this property refers to the image coordinate system, not to the screen coordinates.