PDF for WinRT
InsertRange(Int32,ICollection) Method


Position where the new pages will be inserted.
Collection of PdfPage objects to add to the document.
Inserts the elements of an System.Collections.ICollection at a specified position in the document.
Syntax
'Declaration
 
Public Overloads Sub InsertRange( _
   ByVal index As Integer, _
   ByVal c As ICollection _
) 
'Usage
 
Dim instance As PdfPageCollection
Dim index As Integer
Dim c As ICollection
 
instance.InsertRange(index, c)
public void InsertRange( 
   int index,
   ICollection c
)

Parameters

index
Position where the new pages will be inserted.
c
Collection of PdfPage objects to add to the document.
Remarks

Since the PdfPage class has no public constructors, the only way to use this overload is to remove existing pages from the document first, then add them 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