
- 112 -
OnDone
This event occurs when decoding is complete.
■
Syntax
[VB]
Public
Event
OnDone
As
EventHandler
[C#]
public
event
EventHandler
OnDone
■
Event data
The Event Handler has received EventArgs type parameters.
The second parameter EventArgs e is always System.EventArgs.Empty.
[Ex.] Read data when decoding complete.
[VB]
Private Sub MyScanner_OnDone(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyScanner.OnDone
Dim ReadBuf(Scanner.MAX_BAR_LEN) As Byte
MyScanner.Input(ReadBuf,
0, Scanner.ALL_BUFFER)
End Sub
[C#]
private void MyScanner_OnDone(object sender, EventArgs e)
{
byte[] ReadBuf = new byte[Scanner.MAX_BAR_LEN];
MyScanner.Input(ReadBuf,
0, Scanner.ALL_BUFFER);
}
Summary of Contents for BHT-400-CE
Page 1: ...Class Library Reference Manual Bar Code Handy Terminal BHT 400 CE ...
Page 49: ... 43 17 9 LED UsageCollection This class is invalid at the BHT 400 ...
Page 66: ... 60 17 26 Display This function is not supported ...
Page 67: ... 61 17 27 Display Settings This function is not supported ...
Page 78: ... 72 Events Event Name Description OnDone Occurs when decoding is complete Enumeration None ...
Page 166: ... 160 18 9 LED UsageCollection This class is invalid on the BHT400 ...
Page 289: ... 283 18 26 Display This function is not supported ...
Page 290: ... 284 18 27 Display Settings This function is not supported ...