PeachDrawing.PDF.PdfComposerPage

PdfComposerPage.CreateCanvas(PdfRenderContext) Method

Makes another canvas over this page’s content, drawing with renderContext. The canvases of one page share its content but each keeps its own transform and clip bookkeeping, so one made for a piece of work can be disposed when that is done.

public PeachDrawing.PDF.PdfCanvas CreateCanvas(PeachDrawing.PDF.PdfRenderContext renderContext);

Parameters

renderContext PdfRenderContext

the context whose fonts and images the canvas draws with

Returns

PdfCanvas
a canvas that is valid until the page is finished

Exceptions

System.InvalidOperationException
the page is finished