WaitForEndDoc Method |
Top Previous Next |
Waits until an end document event from host printed documents occurs. This method is used with Tnb3287X and Tnb3812X printer emulation controls and indicates the end of a document that was already printed.
Visual Basic Syntax
[Boolean] = TNBXSync.WaitForEndDoc ([TimeOut] As Integer)
Delphi Syntax
[Boolean] := TNBXSync.WaitForEndDoc ([TimeOut]: integer);
The TimeOut parameter is measured in milliseconds.
Remarks
The Timeout parameter is optional, assuming the WaitTimeout property value by default. This method returns True if the wait was successful and False if the timeout period has expired. If you pass a timeout value in the Timeout parameter of this method, the value of the property WaitTimeout will not have any effect.
See also WaitTimeout property and WaitForStartDoc method.
|