PDFFaxJob::addDocuments

Description

In BBj 10.0 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

Variable

Description

documents!

A vector of PDF documents to send with the fax.

Return Value

None.

Remarks

None.

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

 



______________________________________________________________________________________

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