Inesoft PrintCE SDK .NET
PrintCE::Connection Property ReadOnly

Returns current statement of a connection.

C# Syntax: int value = object.Connection;
VB Syntax: Dim
value As Int32 = object.Connection

Return Values

0 - if connection with a printer is successfully closed, or connection is lost
1 - in any other case

Remarks

It is useful to use this function when printing process takes a long period of time, that is to regularly check Connection property, and if Connection returns 0, cancel printing.

See Also

State

 


© 2009 Inesoft. All rights reserved.