Click or drag to resize

PdfDocumentEditorAppend Method (PdfLiteSession)

Appends a Lite Document in storage to this Document and saves the resulting document to storage (along with any other changes made by the PdfDocumentEditor).

Namespace:  RadPdf.Data.Document
Assembly:  RadPdf (in RadPdf.dll) Version: 3.20.5.0 (3.20.5.0)
Syntax
public void Append(
	PdfLiteSession session
)

Parameters

session
Type: RadPdf.LitePdfLiteSession
The DocumentSession 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 (session) must have been created using the same PdfDocumentSettings as the current document; otherwise, an exception will be thrown.

The PdfDocument to append (session) must have been created using the same RenderDpi as the current document; 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 Lite Storage.

Non-Lite Documents (IsLiteDocument is false) can not be appended to using a Lite Document at this time.

See Also