Click or drag to resize

PdfDocumentEditor.Append 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: 4.3.0.0 (4.3.0.0)
Syntax
public void Append(
	int documentID
)

Parameters

documentID
Type: System.Int32
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
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!