PDF for WinRT
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
'Usage
 
Dim instance As PdfPageCollection
Dim pageSize As Size
Dim value As Integer
 
value = instance.Add(pageSize)
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PdfPageCollection Class
PdfPageCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback