public Attachment AcquaintanceListToPdf( Document document )
Save the acquaintance sheet as a pdf file
For saving the last acquaintance sheet is used
Syntax
public Attachment AcquaintanceListToPdf( Document document )
Parameters
- document
- Type: Document
Document, whose acquaintance sheet needs to be saved as a file. Object. Access path: PublicAPI.Docflow.Document
Return Value
Type: AttachmentFile (attachment)
Examples
//load the document by ID var document = PublicAPI.Docflow.Document.Load(3); //save the acquaintance sheet as a file (creates an attachment with filled file field) var file = PublicAPI.Docflow.Objects.Tasks.AcquaintanceList.AcquaintanceListToPdf(document);
See Also