PeachDrawing.PDF.PdfComposer

PdfComposer.AddPage(double, double) Method

Adds a page at the end of the document.

public PeachDrawing.PDF.PdfComposerPage AddPage(double widthPoints, double heightPoints);

Parameters

widthPoints System.Double

the page’s width in points (1/72 inch); 595 by 842 is A4

heightPoints System.Double

the page’s height in points

Returns

PdfComposerPage
the page; its Canvas draws it

Exceptions

System.ArgumentOutOfRangeException
a dimension is negative or not a finite number