Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageReorderPlan

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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

Methods

public int GetOutputPageNumber(int sourcePageNumber) #

Returns the one-based output position of a source page.

Parameters

sourcePageNumber int required

Returns

int
public 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 required
insertBeforePageNumber int required
pageNumbers int[] required
public 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 required
towardStart bool required
pageNumbers int[] required

Properties

public IReadOnlyList<int> SourcePageNumbers { get; } #

One-based source page numbers in their proposed output order.

public bool HasChanges { get; } #

Whether the proposed order differs from the source order.