PeachDrawing.PDF.PdfOperation
PdfOperation.AppendTo(PdfComposer, PdfRenderContext, Nullable<PdfCopyMode>) Method
Adds the pages of this operation after the pages composer already has, instead of writing a file of their own: the document being composed keeps its own conformance, encryption and metadata, and these pages become part of it.
public void AppendTo(PeachDrawing.PDF.PdfComposer composer, PeachDrawing.PDF.PdfRenderContext context, System.Nullable<PeachDrawing.PDF.PdfCopyMode> copyMode=null);
Parameters
composer PdfComposer
the document to add to
context PdfRenderContext
the render context the composer draws with
copyMode System.Nullable<PdfCopyMode>
how to take the pages, or null for this operation’s own (WithCopyMode(PdfCopyMode))
Exceptions
System.InvalidOperationException
there are no pages, or the operation encrypts, linearizes, attaches files or extends the metadata: those apply to a whole file and are
set where the document is written