ComponentOne PDF for WPF and Silverlight
AddRange(ICollection) Method

C1.Silverlight.Pdf.5 Assembly > C1.Silverlight.Pdf Namespace > PdfPageCollection Class > AddRange Method : AddRange(ICollection) Method
Collection of PdfPage objects to add to the document.
Adds the elements of an System.Collections.ICollection to the end of the document.
Syntax
'Declaration
 
Public Overloads Sub AddRange( _
   ByVal c As ICollection _
) 
public void AddRange( 
   ICollection c
)

Parameters

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.

See Also

Reference

PdfPageCollection Class
PdfPageCollection Members
Overload List