PdfDocument.Append Method (Stream, PdfDecryptionHandler)

Appends the contents of the specified stream with PDF data to this PdfDocument.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void Append(
	Stream stream,
	PdfDecryptionHandler handler
)
VB
Public Sub Append ( 
	stream As Stream,
	handler As PdfDecryptionHandler
)

Parameters

stream
Type: System.IO.Stream
The stream to read PDF data from.
handler
Type: BitMiracle.Docotic.Pdf.PdfDecryptionHandler
The decryption handler to use to decrypt the stream.

Remarks

The stream must be a stream that supports reading and seeking. Otherwise, the method throws an exception of PdfException type.

See Also