ComponentOne PDF for WPF and Silverlight
Add(Size) Method

C1.Silverlight.Pdf.5 Assembly > C1.Silverlight.Pdf Namespace > PdfPageCollection Class > Add Method : Add(Size) Method
The size of the new page, in points.
Creates a new PdfPage with the specified size and adds it to the end of the document.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal pageSize As Size _
) As Integer
public int Add( 
   Size pageSize
)

Parameters

pageSize
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 C1PdfDocumentBase.NewPage method.

See Also

Reference

PdfPageCollection Class
PdfPageCollection Members
Overload List