menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PageOrganizer - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PageOrganizer

    Class to handle the collection of pages.

    Inheritance
    System.Object
    PageOrganizer
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.PdfViewer
    Assembly: Syncfusion.PdfViewer.WPF.dll
    Syntax
    public class PageOrganizer

    Properties

    RemovePagesCommand

    Gets the command that removes the pages based on the array of indexes passed as command parameter.

    Declaration
    public ICommand RemovePagesCommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand
    Examples
    if(pdfViewerControl.PageOrganizer.RemovePagesCommand.CanExecute(new int[] { 0, 1 }))
    pdfViewerControl.PageOrganizer.RemovePagesCommand.Execute(new int[] { 0, 1 });
    See Also
    RemovePages(Int32[])

    RotatePagesClockwiseCommand

    Gets the command that rotates the pages 90 degrees with respect to the current rotation angle in clockwise direction based on the array of indexes passed as command parameter.

    Declaration
    public ICommand RotatePagesClockwiseCommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand
    Examples
    if(pdfViewerControl.PageOrganizer.RotatePagesClockwiseCommand.CanExecute( new int[] { 0, 1 } ))
    pdfViewerControl.PageOrganizer.RotatePagesClockwiseCommand.Execute( new int[] { 0, 1 } );
    See Also
    RotateClockwise(Int32[])

    RotatePagesCommand

    Gets the command that rotates the pages to specified angle regardless of its current rotation angle based on the array of indexes and thePdfPageRotateAngle passed as command parameter.

    Declaration
    public ICommand RotatePagesCommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand
    Examples
    if(pdfViewerControl.PageOrganizer.RotatePagesCommand.CanExecute(new object[] { new int[] { 0, 1 }, PdfPageRotateAngle.RotateAngle180 }))
    pdfViewerControl.PageOrganizer.RotatePagesCommand.Execute(new object[] { new int[] { 0, 1 }, PdfPageRotateAngle.RotateAngle180 });
    See Also
    Rotate(Int32[], PdfPageRotateAngle)

    RotatePagesCounterclockwiseCommand

    Gets the command that rotates the pages 90 degrees with respect to the current rotation angle in counterclockwise direction based on the array of indexes passed as command parameter.

    Declaration
    public ICommand RotatePagesCounterclockwiseCommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand
    Examples
    if(pdfViewerControl.PageOrganizer.RotatePagesCounterclockwiseCommand.CanExecute( new int[] { 0, 1 } ))
    pdfViewerControl.PageOrganizer.RotatePagesCounterclockwiseCommand.Execute( new int[] { 0, 1 } );
    See Also
    RotateCounterclockwise(Int32[])

    Methods

    GetPageRotation(Int32)

    Gets the rotation angle of a page.

    Declaration
    public PdfPageRotateAngle GetPageRotation(int pageIndex)
    Parameters
    Type Name Description
    System.Int32 pageIndex

    Index of the page.

    Returns
    Type Description
    PdfPageRotateAngle

    Returns the rotation angle of particular page

    ReArrange(Int32[])

    Reorder pages

    Declaration
    public void ReArrange(int[] orderArray)
    Parameters
    Type Name Description
    System.Int32[] orderArray

    The page sequence to arrange the pages.

    RemoveAt(Int32)

    Deletes a page at particular index.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index of the page.

    RemovePages(Int32[])

    Removes a set of pages.

    Declaration
    public void RemovePages(int[] pagesToBeRemoved)
    Parameters
    Type Name Description
    System.Int32[] pagesToBeRemoved

    Indexes of the pages to be removed

    Rotate(Int32[], PdfPageRotateAngle)

    Rotates pages at particular indexes in the provided rotation angle.

    Declaration
    public void Rotate(int[] pageIndexes, PdfPageRotateAngle rotationAngle)
    Parameters
    Type Name Description
    System.Int32[] pageIndexes

    The indexes of the pages to be rotated.

    PdfPageRotateAngle rotationAngle

    The angle to rotate.

    RotateClockwise(Int32[])

    Rotates pages at particular indexes in clockwise direction

    Declaration
    public void RotateClockwise(int[] pageIndexes)
    Parameters
    Type Name Description
    System.Int32[] pageIndexes

    The indexes of the pages to be rotated.

    RotateCounterclockwise(Int32[])

    Rotates pages at particular indexes in counter clockwise direction.

    Declaration
    public void RotateCounterclockwise(int[] pageIndexes)
    Parameters
    Type Name Description
    System.Int32[] pageIndexes

    The indexes of the pages to be rotated.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved