Como capturar eventos activex em Fivewin?
ImageAcquired
This event is fired whenever a fingerprint image is acquired from a plugged fingerprint reader.
Prerequisites The capture module must have been previously initialized.
At least one fingerprint reader started capturing fingerprint images.
Parameters
[in] idSensor The ID of the fingerprint reader that raised the event.
[in] width Fingerprint image width in pixels.
[in] height Fingerprint image height in pixels.
[in] rawImage The raw grayscale fingerprint image.
[in] res Fingerprint image resolution in DPI.
DECLARATION C#
void [Control Name]_ImageAcquired(object sender, [Library Name]._IGrFingerXCtrlEvents_ImageAcquireEvent e)
SAMPLE C#
private void axGrFingerXCtrl1_ImageAcquired(object sender, AxGrFingerXLib._IGrFingerXCtrlEvents_ImageAcquiredEvent e)
{
// Copying acquired image
_raw.img = e.rawImage;
_raw.height = (int) e.height;
_raw.width = (int) e.width;
_raw.Res = e.res;
// Signaling that an Image Event occurred.
WriteLog("Sensor: " + e.idSensor + ". Event: Image captured.");
// display the fingerprint image
PrintBiometricDisplay(false, GRConstants.GR_DEFAULT_CONTEXT);
}