PDFFaxJob::close

Description

In BBj 10.0 and higher, this method closes a fax job and should be invoked after the fax has been sent.

Syntax

Access

Return Value

Method

public

void

close()

Parameters

None.

Return Value

None.

Remarks

This method closes the connection to the modem. The PDFFaxJob should not be used once it is closed, and a PDFFaxJob should be closed after it is sent so that the modem is properly initialized before sending another fax.

Example

use ::LocalFax.src::PDFFaxJob

declare PDFFaxJob fax!

document!="C:\users\someuser\doc.pdf”

phoneNo!="5551212"

fax!=new PDFFaxJob()

fax!.addDocument(document!)

fax!.addPhoneNumber(phoneNo!)

fax!.send()

rem Close the fax job.

fax!.close()

See Also

Fax Utility

PDFFaxJob

 



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.