Application.AppendDocumentFile Method

This method joins one document to the end of another document. For example, if you assemble two separate documents, you could then use this method to combine them into one document. To append more than one document to another use Application.JoinDocumentFiles.

Syntax

void AppendDocumentFile ( string sourceFilePath, string destinationFilePath, HotDocs_Online.appendOptions options )

Parameters Description
sourceFilePath The document to be appended to the end of the destinationFilePath document.
destinationFilePath The document to which sourceFilePath will be appended.
options One of the following values from the appendOptions enumeration:
  • appendNone:Do not keep the header or footer of the appended document.

  • appendHeader:Keep the header of the appended document.

  • appendFooter:Keep the footer of the appended document.

  • appendBoth:Keep both the header and the footer of the appended document.