PdfDocument.Append Method (Stream)

Appends the contents of 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
)
VB
Public Sub Append ( 
	stream As Stream
)

Parameters

stream
Type: System.IO.Stream
The stream to read PDF data from.

Remarks

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

Call one of the Save() methods to store the resulting document in a file or a stream.

This method uses default merging options.

See Also