PDFFaxJob::addDocuments

Description

In BBj 10.00 and higher, this method adds a list of PDF documents to the fax job.

Syntax

Access

Return Value

Method

public

void

addDocuments(BBjVector documents!)

Parameters

Parameter

Description

documents!

A vector of PDF documents to send with the fax.

Return Value

None.

Remarks

Note:

The BASIS Fax Utility uses a third-party library from Java4Less called RFax. Any faxes sent will include a banner stating that the RFax library is being used until the customer obtains a license from Java4Less here.

Example

use ::LocalFax.src::PDFFaxJob
declare PDFFaxJob fax!

rem 'Create a vector of documents to include in the fax job
documents!=BBjAPI().makeVector()
documents!.add("c:\users\someuser\coverpage.pdf")
documents!.add("c:\users\someuser\quote.pdf")
phoneNo!="5551212"
fax!=new PDFFaxJob()

rem 'Add the vector of documents to the fax job
fax!.addDocuments(documents!)
fax!.addPhoneNumber(phoneNo!)
fax!.send()
fax!.close()

See Also

Fax Utility

PDFFaxJob