Functions | |
void | CVCError (ErrorCode ErrorCode, BSTR ErrorString, boolean *Continue) |
This event is fired if an error occurs in the Image Control. More... | |
void | EndOfLine (long LinesToDo, boolean *Cancel) |
This event is triggered when ScanImage or ScanPlane is called at the end of every scanned line. More... | |
void | ImageSnaped () |
This event is only triggered if the image object is an image acquisition device and if the Grab property is set to TRUE . More... | |
void | ImageUpdated () |
This event is only triggered when the image object has changed. This is the case when a new image has been loaded from the hard disk or an image acquisition device driver. | |
void | NextPixel (long Plane, long x, long y, long *Value, boolean *Cancel) |
This event is triggered for all scanned pixels. More... | |
void | StartOfLine (long LinesToDo, boolean *Cancel) |
This event is triggered when ScanImage or ScanPlane is called at the beginning of every scanned line. More... | |
void CVCError | ( | ErrorCode | ErrorCode, |
BSTR | ErrorString, | ||
boolean * | Continue | ||
) |
This event is fired if an error occurs in the Image Control.
[in] | ErrorCode | A unique number describing the error. The following error codes have been defined:
| ||||||||||||||||||||||||||||||||||||
[in] | ErrorString | Specifies the error text of the output. | ||||||||||||||||||||||||||||||||||||
[in] | Continue | This specifies whether execution should continue despite the error. The user can overwrite the value in order to change the default action. The default value depends on the function that caused the error. TRUE specifies that a messate box will appear to inform the user of the error. FALSE means that it is possible to perform custom error handling, e.g. use a self-defined message-box. |
void EndOfLine | ( | long | LinesToDo, |
boolean * | Cancel | ||
) |
void ImageSnaped | ( | ) |
void NextPixel | ( | long | Plane, |
long | x, | ||
long | y, | ||
long * | Value, | ||
boolean * | Cancel | ||
) |
This event is triggered for all scanned pixels.
Scanning is started by ScanImage or ScanPlane and can be terminated by setting Cancel to TRUE
. The gray scale value of the pixel is passed by way of reference so that the pixel can be overwritten.
[in] | Plane | Index of the current plane. |
[in] | x | X position of the pixel. |
[in] | y | Y position of the pixel. |
[in,out] | Value | Gray scale value of the pixel on position x and y. |
[in] | Cancel | TRUE specifies that the scanning is terminated, otherwise FALSE . |