|
Available in the LEADTOOLS Imaging toolkit. |
Visual Basic Syntax
The syntax for the LEAD control's properties, methods, and events is the same as for other controls in Visual Basic.
Whenever you declare a variable as a data type, you need to know how the ActiveX data type is expressed in Visual Basic. Refer to the following table for the appropriate data type:
|
ActiveX Data Type |
Visual Basic Data Type |
|
boolean |
Integer |
|
BSTR |
String |
|
IPictureDisp |
Picture |
|
long |
Long |
|
OLE_HANDLE |
Long on a 32-bit system |
|
OLE_COLOR |
Long color value (such as the RGB return value) |
|
OLE_XPOS_PIXELS |
Long |
|
OLE_YPOS_PIXELS |
Long |
|
short |
Integer |
|
float |
Single |