PeachDrawing.PDF.PdfOperation

PdfOperation.MergeStream(Stream, string, string) Method

Adds the pages of a PDF read from a stream to the end.

public PeachDrawing.PDF.PdfOperation MergeStream(System.IO.Stream pdf, string? pageSelector=null, string? password=null);

Parameters

pdf System.IO.Stream

a stream positioned at the start of the file; read to the end and left open

pageSelector System.String

the pages of it to add, or null for all

password System.String

its password, if it has one

Returns

PdfOperation
this operation