API Reference

Class

PdfPageSelection

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Implements
IEquatable<PdfPageSelection>
Modifiers sealed

Represents caller-ordered one-based PDF page selections.

Inheritance

  • Object
  • PdfPageSelection

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

Equals 2 overloads
public virtual Boolean Equals(PdfPageSelection other) #
Returns: Boolean

Parameters

other OfficeIMO.Pdf.PdfPageSelection requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
From 2 overloads
public static PdfPageSelection From(params Int32[] pageNumbers) #
Returns: PdfPageSelection

Creates a selection from one or more one-based page numbers.

Parameters

pageNumbers System.Int32[] requiredposition: 0
public static PdfPageSelection From(PdfPageRange pageRange) #
Returns: PdfPageSelection

Creates a selection from one inclusive one-based page range.

Parameters

pageRange OfficeIMO.Pdf.PdfPageRange requiredposition: 0
public static PdfPageSelection FromRanges(params PdfPageRange[] pageRanges) #
Returns: PdfPageSelection

Creates a selection from one or more inclusive one-based page ranges.

Parameters

pageRanges OfficeIMO.Pdf.PdfPageRange[] requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static PdfPageSelection Parse(String pageRanges) #
Returns: PdfPageSelection

Parses comma- or semicolon-separated one-based page ranges such as 1, 1-3, or 3,1-2.

Parameters

pageRanges System.String requiredposition: 0
public override String ToString() #
Returns: String
public static Boolean TryParse(String pageRanges, out PdfPageSelection selection) #
Returns: Boolean

Attempts to parse comma- or semicolon-separated one-based page ranges.

Parameters

pageRanges System.String requiredposition: 0
selection OfficeIMO.Pdf.PdfPageSelection@ requiredposition: 1

Properties

public IReadOnlyList<PdfPageRange> Ranges { get; } #

Inclusive one-based ranges in caller order.

public Int32 PageCount { get; } #

Total selected page count before operation-specific de-duplication.