StartX
Top  Previous  Next

Description

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


Syntax


[VB]
objActiveDcam.StartX [= Value]


[C/C++]
HRESULT get_StartX( long *pStartX );
HRESULT put_StartX( long StartX );



Data Type
[VB]

Long


Parameters
[C/C++]

pStartX [out,retval]  
Pointer to the currently set horizontal ofset  
SizeX [in]  
The horizontal ofset to be set  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  
E_INVALIDARG  
Invalid property value.  
 

Example


This VB example sets the horizontal ofset of the video window to 64:

ActiveDcam1.StartX = 64
MsgBox ActiveDcam1.StartX
 

Remarks


This property is available only for partial scan (Format 7) Modes and allows you to set the horizontal offset of the top left corner of the scan window in pixels. Only certain values StartX 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.