OffsetY
Top  Previous  Next

Description

Returns or sets the vertical offset of the partial scan window.


Syntax


[VB]
objActiveGige.OffsetY [= Value]


[C/C++]
HRESULT get_OffsetY( long *pOffsetY );
HRESULT put_OffsetY( long OffsetY );



Data Type
[VB]

Long


Parameters
[C/C++]

pOffsetY [out,retval]  
Pointer to the currently set vertical offset  
OffsetY [in]  
The vertical offset to be set  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  
E_INVALIDARG  
Invalid property value.  
 

Example


This VB example sets the vertical offset of the video window to 64 pixels:

ActiveGige1.OffsetY = 64
MsgBox ActiveGige1.OffsetY
 

Remarks


This property allows you to set the vertical offset of the top left corner of the scan window in pixels. Only certain values OffsetY can be allowed depending on the camera. If the property is set to a value which is not supported by the camera, it will be reset to the nearest allowable one.