Unibrain API-810 User Manual Page 22

  • Download
  • Add to my manuals
  • Print
  • Page
    / 95
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 21
22
Reference
In the following reference of all interfaces implemented, “Long” is defined as a 32-bit signed integer value,
and “Integer” is defined as a 16-bit signed integer value. “Byte” on the other hand is an 8-bit unsigned
integer value. “Single” is a single-precision floating-point number.
FireiPreviewControl
The FireiPreviewControl is a Windows.Forms.Control-derived control, which purpose is to show the video
output of the underlying API at work. It can be resized at will while running, and can be attached on any
Windows form.
FireiGUID
The FireiGUID object is a helper object, making the camera GUID easier to manipulate, store and retrieve.
It can be constructed directly, or through the SelectCamera method of FireiManager. It supports a
number of properties and methods through its interface:
[] property
Prototype
public byte this[int index]
Comments
The [] property is a read/write property, enabling the direct manipulation of any of the 8 bytes in a
FireiGUID object.
Visual Basic syntax
Dim Byte0 As Byte
Byte0 = Guid.Item(0)
'get
Guid.Item(0) = Byte0
'set
C# syntax
byte Byte0 = Guid[0];
//get
Guid[0] = Byte0;
//set
ToString method
Prototype
String ToString()
Comments
The ToString method converts and returns the bytes contained in the FireiGUID object to a regular
string, with each of the 8 bytes separated with the ‘:’ character for better clarity. Each byte is represented in
2-character hexadecimal form.
Visual Basic syntax
Dim StringGUID As String
StringGUID = Guid.ToString
Page view 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 94 95

Comments to this Manuals

No comments