Syntax

 

 PXL_RETURN_CODE PxLResetPreviewWindow ( HANDLE hCamera );

 

Description


This function redefines the dimensions of the preview window's client rectangle to match those of the camera’s region of interest (ROI). 



Comments, Restrictions and Limitations


The preview window must be running first.  For this function to operate properly, the PxLSetPreviewState function must be invoked prior to this function call, with the preview window state set to START_PREVIEW or PAUSE_PREVIEW .


If the preview window has been minimized, it will not be restored by this function call.