
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
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.