Method MovePage

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

MovePage(int, int)

Moves a page to a new position; the pages in between shift by one.

public void MovePage(int fromIndex, int toIndex)

Parameters

fromIndex int

Zero-based index of the page to move.

toIndex int

Zero-based index the page should have afterwards.

Exceptions

ArgumentOutOfRangeException

An index is outside Pages.