Unibrain API-810 User Manual Page 78

  • Download
  • Add to my manuals
  • Print
  • Page
    / 97
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 77
78
Model property
Prototype
String Model
Comments
This is a read-only property that can be used to retrieve the model name of the camera, as a string.
Visual Basic 6.0 syntax
Dim ModelName As String
ModelName = Camera.Model
C++ syntax
BSTR ModelName;
HRESULT hr = pICamera->get_Model(&ModelName);
Serial property
Prototype
Long Serial
Comments
This is a read-only property that can be used to retrieve the serial number of the camera, as a Long.
Visual Basic 6.0 syntax
Dim SerialNo As Long
SerialNo = Camera.Serial
C++ syntax
LONG lSerialNo;
HRESULT hr = pICamera->get_Serial(&lSerialNo);
FriendlyName property
Prototype
String FriendlyName
Comments
This is a read-only property that can be used to retrieve an SDK-constructed “friendly name” for the camera,
as a Long. This “friendly name” is a combination of the vendor name, the model name and the serial number
of the camera.
A typical friendly name is similar to:
Unibrain Fire-i 1.2 40045266
Visual Basic 6.0 syntax
Dim FriendlyName As String
FriendlyName = Camera.FriendlyName
C++ syntax
BSTR FriendlyName;
Page view 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 96 97

Comments to this Manuals

No comments