SizeY
Top  Previous  Next

Description

Returns or sets the height of the partial scan window.


Syntax


[VB]
objActiveDcam.SizeY [= Value]


[C/C++]
HRESULT get_SizeY( long *pSizeY );
HRESULT put_SizeY( long SizeY );



Data Type
[VB]

Long


Parameters
[C/C++]

pSizeY [out,retval]  
Pointer to the currently selected image height  
SizeY [in]  
The image height to be selected  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  
E_INVALIDARG  
Invalid property value.  
 

Example


This VB example sets the current image height to 512:

ActiveDcam1.SizeY = 512
MsgBox ActiveDcam1.SizeY
 

Remarks


Modification of the size of the video frame is available only for partial scan (Format 7) Modes. Only certain values of the height can be allowed for the partial scan window 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 height.

If the currently selected video mode represents a fixed format, the SizeY property will be readonly and will return the same value as GetHeight.