Creates a new PdfPage 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()
Visual Basic
Public Function Add As Integer

Return Value

The index of the new page.

Remarks

The size of the new page is determined by the PageSize property of the parent document.

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