WaitForStartDoc Method

Top  Previous  Next

Waits until a start document event from the host, because of printed documents occurs. This method is used with Tnb3287X and Tnb3812X printer emulation controls and indicates the beginning of a document that was already printed.

 

Visual Basic Syntax

 

[Boolean] = TNBXSync.WaitForStartDoc ([TimeOut] As Integer)

 

Delphi Syntax

 

[Boolean] := TNBXSync.WaitForStartDoc ([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 WaitForEndDoc method.