Inesoft PrintCE SDK EVC++
CPrintCE::Connection Property ReadOnly

Returns current statement of a connection.

C++ Syntax: long value = object.GetConnection();
eVB Syntax:
value = 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.