Creates a new PdfPage with the specified size and adds it to
the end of the document.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public int Add( PaperKind paperKind ) |
Visual Basic |
---|
Public Function Add ( _ paperKind As PaperKind _ ) As Integer |
Parameters
- paperKind
- Type: C1.Silverlight.Pdf..::..PaperKind
The size of the new page, expressed as a PaperKind.
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.