CipherLab 9400 Series User Manual page 196

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

9400 .NET Programming
StartStillCapture
Purpose
To start with still image capture.
Syntax
int StartStillCapture (byte [] captureBuffer, int playSound);
Parameters
captureBuffer
[in] A byte array variable that stores the captured image. The size of the buffer
is "1600*1200*2 + 2048 + 0x1000".
playSound
[in] Integer variable
Example for C#
int b1 = 0;
byte[] captureBuffer = new byte[1600 * 1200 * 2 + 2048 + 0x1000];
b1 = Cipherlab.SystemAPI.Member.StartStillCapture(captureBuffer, 1);
Example for VB
Dim captureBuffer(1600 * 1200 * 2 + 2048 + 4095) As Byte
Cipherlab.SystemAPI.Member.StartStillCapture(captureBuffer, 1)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
Upon
WM_CAMERACAPTUREFINISH.
See Also
SetStillCaptureState
c
188
Guide
0
No notification.
1
Play a sound to notify the image has been captured.
Call GetErrorCode() to find the error condition encountered:
1
Open Resource Fail
34
File path does not exist
35
Failed to capture image
36
Failed to write image
37
No enough space to save image file
completion
of
the
capture,
it
will
send
a
Windows
message

Advertisement

Table of Contents
loading

Table of Contents