A Camera object provides an interface to camera devices such as the HP Photosmart and VEO 130S SDIO cameras. You can preview an image in any visual control and save it as a JPEG file.
Camera property |
Datatype |
Description |
---|---|---|
String |
Read-only name for the camera set with a specifier in the CameraType property. |
|
Integer |
Specifier for the type of camera. |
|
ConfigParams |
String |
Not currently implemented. Reserved for future use. |
UnsignedLong |
Read-only file handle for the serial camera device. |
|
String |
Read-only value optionally defined by the camera manufacturer. |
|
String |
Read-only value optionally defined by the camera manufacturer. |
|
String |
Sets the folder for storing the snapped images. Required for HTC cameras. |
|
String |
Sets the port for a camera. Required for the HP Photosmart and VEO 130S cameras. |
Camera event |
Occurs |
---|---|
When the object is created |
|
When the object is destroyed |
|
When an image has been captured by a digital camera device |
Camera function |
Datatype returned |
Description |
---|---|---|
Integer |
Starts up the camera device’s preview mode using the object of type GraphicObject that you specify in the function’s only argument. For the HTC camera, launches the IA Camera Wizard. |
|
Integer |
Saves the image as a file that you specify in this function’s only argument. |
|
Integer |
Closes a Camera communication channel if one is open and deactivates the data handlers. |
|
Integer |
Ends the camera device’s preview mode. |
|
Integer |
Passes the set of allowed image attributes for the camera device to the CameraImageAttributes structure object that you specify in the function’s only argument. |
|
Integer |
Gets the actual value of a device option that you specify in the function’s only argument. |
|
Boolean |
Queries the device to determine its support for an option that you specify in a CameraOption enumerated value. |
|
Boolean |
Queries whether the device is set to capture an image to a file. |
|
Integer |
Initializes data handlers and opens a communication channel to the camera device. |
|
Integer |
Sets the image attributes from a CameraImageAttributes structure object that you specify in the function’s only argument. |
|
Integer |
Sets an option to a specific value. |
|
Integer |
Sets the image attributes for preview mode. |
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |