PublicAPI.Docflow.Objects.Tasks.ApprovementList.ApprovementListToPdf ELMA API Documentation
Saves the approval sheet to a pdf file The last approval sheet is used for saving
 
 
Syntax

public Attachment ApprovementListToPdf(
	Document document
)

Parameters

document
Type: Document
Document, whose approval list needs to be saved as a file. Object. Access path: PublicAPI.Docflow.Document

Return Value

Type: Attachment
File (attachment)
Examples

//load the document by ID 
var document = PublicAPI.Docflow.Document.Load(3);

//save the approval list as a file (creates an attachment with filled file field) 
var file = PublicAPI.Docflow.Objects.Tasks.ApprovementList.ApprovementListToPdf(document);
See Also