API Reference
Class
PdfPageReorderPlan
Describes a complete page permutation before a PDF page-tree mutation is applied.
Inheritance
- Object
- PdfPageReorderPlan
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PdfPageReorderPlan.Move
- Method PdfPageReorderPlan.Shift
Methods
public Int32 GetOutputPageNumber(Int32 sourcePageNumber) #Returns:
Int32Returns the one-based output position of a source page.
Parameters
- sourcePageNumber System.Int32
public static PdfPageReorderPlan Move(Int32 pageCount, Int32 insertBeforePageNumber, params Int32[] pageNumbers) #Returns:
PdfPageReorderPlanPlans 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 System.Int32
- insertBeforePageNumber System.Int32
- pageNumbers System.Int32[]
public static PdfPageReorderPlan Shift(Int32 pageCount, Boolean towardStart, params Int32[] pageNumbers) #Returns:
PdfPageReorderPlanPlans shifting each selected run by one position. Runs already at the requested edge remain there.
Parameters
- pageCount System.Int32
- towardStart System.Boolean
- pageNumbers System.Int32[]
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object