Creates a new PdfPage with the specified size and adds it to the end of the document.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public int Add(
	Size pageSize
)
Visual Basic
Public Function Add ( _
	pageSize As Size _
) As Integer

Parameters

pageSize
Type: System.Windows..::..Size
The size of the new page, in points.

Return Value

The index of the new page.

Remarks

The new page becomes current after it is added to the document (see the CurrentPage property).

You can also add pages to a C1PdfDocument by calling the NewPage()()()() method.

See Also