'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.
'Declaration
Public Overloads Sub AddRange( _ ByVal c As ICollection _ )
public void AddRange( ICollection c )
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.