Adds the elements of an ICollection to the end of the document.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void AddRange( ICollection c ) |
Visual Basic |
---|
Public Sub AddRange ( _ c As ICollection _ ) |
Parameters
- c
- Type: System.Collections..::..ICollection
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.