Click or drag to resize

PdfDocumentEditorAppend Method (Int32)

Appends a PDF file to this Document and saves the resulting document to database (along with any other changes made by the PdfDocumentEditor).

Namespace:  RadPdf.Data.Document
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public void Append(
	int documentID
)

Parameters

documentID
Type: SystemInt32
The DocumentID of the PdfDocument to append
Remarks

A document can only be appended to if the document is fully rendered. To check if a document is fully rendered, use CheckIsRendered.

Because the document is re-built after appending, some references to children of Document, Fields, and Pages may no longer be valid.

The PdfDocument to append (documentID) must have been created using the same PdfDocumentSettings as the current document; otherwise, an exception will be thrown.

The PdfDocument to append (documentID) must have been created using the same RenderDpi as the current document; otherwise, an exception will be thrown.

The PdfDocument to append (documentID) must be fully rendered; otherwise, an exception will be thrown.

Because the document is re-built after appending, some references to children of Document, Fields, and Pages may no longer be valid. We recommend retrieving the necessary references again using this PdfDocumentEditor class in its current state.

If DisableAppend is set for this Document, this method will throw an exception.

This method will create and use a database connection.

Lite Documents (IsLiteDocument is true) can not be appended to using a Document ID at this time.

See Also