PDF for WinRT
Insert(Int32,PdfPage) Method


Position where the new page will be inserted in the document.
PdfPage to add to the document.
Inserts a page at a specific position in the document.
Syntax
'Declaration
 
Public Overloads Shadows Sub Insert( _
   ByVal index As Integer, _
   ByVal page As PdfPage _
) 
'Usage
 
Dim instance As PdfPageCollection
Dim index As Integer
Dim page As PdfPage
 
instance.Insert(index, page)
public new void Insert( 
   int index,
   PdfPage page
)

Parameters

index
Position where the new page will be inserted in the document.
page
PdfPage to add to the document.
Remarks

Since the PdfPage class has no public constructors, the only way to use this overload is to remove an existing page from the document first, then add that page back into the document.

Each page can appear only once in the document. Trying to add the same page twice will throw an exception.

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