FZ_FormBase.GetImageFormat
Gets type of a measured image data
Public Shared Function GetImageFormat( _
ByVal unitNo As Integer, _
ByVal measureImageNo As Integer _
) As Integer
Parameters
unitNo
|
Unit number to be gotten
|
Input
|
measureImageNo
|
The number of measure image
|
Input
|
Return Value
Returns the image type.
Available image types are:
Table: GetImageFormat - Return Values
Image Type
|
Description
|
0
|
Binary image
|
1
|
Monochrome image
|
2
|
RGB color image
|
100
|
User-defined image
|
101
|
User-defined data
|
Description
The type of the measured image of the specified unit specified is acquired.
Example
Private Sub InitControl()
Dim format As Integer
' Gets the type of measure image 0 of the unit 1
format = GetImageFormat(1, 0)
End Sub