Class
PdfPageReorderPlan
OfficeIMO.Pdf
Describes a complete page permutation before a PDF page-tree mutation is applied.
Inheritance
- object
- PdfPageReorderPlan
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method PdfPageReorderPlan.Move
- Method PdfPageReorderPlan.Shift
Methods
public int GetOutputPageNumber(int sourcePageNumber) #Returns the one-based output position of a source page.
Parameters
- sourcePageNumber int
Returns
intpublic static PdfPageReorderPlan Move(int pageCount, int insertBeforePageNumber, params int[] pageNumbers) #Plans moving selected pages before a source page, preserving their original relative order. Use page count + 1 to move to the end. The destination cannot be selected.
Parameters
- pageCount int
- insertBeforePageNumber int
- pageNumbers int[]
Returns
PdfPageReorderPlanpublic static PdfPageReorderPlan Shift(int pageCount, bool towardStart, params int[] pageNumbers) #Plans shifting each selected run by one position. Runs already at the requested edge remain there.
Parameters
- pageCount int
- towardStart bool
- pageNumbers int[]
Returns
PdfPageReorderPlan