Method Insert
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Insert(int)
Inserts a new page into the document's page collection at the specified index.
public PdfPage Insert(int index)
Parameters
indexintThe zero-based index at which the new page should be inserted.
Returns
Remarks
See the Add and insert pages section for additional details.
When index equals Count, this method behaves the same
as Add().
Exceptions
- ArgumentOutOfRangeException
Thrown when
indexis less than0or greater than Count.