PDFFaxJob::addDocument

Description

In BBj 10.0 and higher, this method adds a PDF File to the fax job represented by PDFFaxJob. PDFFaxJob stores documents internally in a list and will send them in the order they were added.

Syntax

Access

Return Value

Method

public

void

addDocument(BBjString documentPath$)

Parameters

Variable

Description

documentPath$

The absolute path to the PDF file that is to be added to the fax job.

Return Value

None.

Remarks

None.

Example

use ::LocalFax.src::PDFFaxJob

declare PDFFaxJob fax!

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

phoneNo!="5551212"

fax!=new PDFFaxJob()

rem Add a document to the fax job.

fax!.addDocument(document!)

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.