CipherLab 9400 Series User Manual page 195

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

SetStillCaptureState
Purpose
To set the capture settings.
Syntax
int SetStillCameraState (PicState picInfo);
Parameters
picInfo
[in]
Example for C#
int b1 = 0;
Cipherlab.SystemAPI.Member.PicState picinfo =
new Cipherlab.SystemAPI.Member.PicState();
picinfo.ResX = 800;
picinfo.ResY = 600;
picinfo.FlashLight = 1;
picinfo.ImageFormat = 0;
picinfo.lpPathName = "\\DiskOnChip";
picinfo.PathSize = 260;
picinfo.lpFileName = "Test001";
picinfo.FileSize = 260;
b1 = Cipherlab.SystemAPI.Member.SetStillCaptureState(ref picinfo);
Example for VB
Dim picinfo As New Member.PicState
picinfo.ResX = 800
picinfo.ResY = 600
picinfo.FlashLight = 1
picinfo.ImageFormat = 0
picinfo.lpPathName = "\DiskOnChip"
picinfo.PathSize = 260
picinfo.lpFileName = "Test001"
picinfo.FileSize = 260
Cipherlab.SystemAPI.Member.SetStillCaptureState(picinfo)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
This function must be called before StartStillCapture().
See Also
StartStillCapture
c
PicState
structure that stores the capture settings.
Call GetErrorCode() to find the error condition encountered:
1
Open Resource Fail
4
Parameter Error
Chapter 3
System API
187

Advertisement

Table of Contents
loading

Table of Contents