API Reference
PdfPageSelection
Represents caller-ordered one-based PDF page selections.
Inheritance
- Object
- PdfPageSelection
Usage
Explore 54 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 8
- Property PdfPageAttributeEdit.Selection
- Method PdfPageSelection.From
- Method PdfPageSelection.FromRanges
- Method PdfPageSelection.Parse
- Method PdfPageSelector.ResolveSelection
- Property PdfProductionPreflightOptions.PageSelection
- Property PdfReadOptions.PageSelection
- Property PdfStaticFormRecognitionOptions.PageSelection
Accepted by parameters 46
- Extension method PdfDocument.ExportImages
- Extension method PdfDocumentConversionResult.ExportImages
- Method PdfDocumentImageEditor.Extract
- Method PdfDocumentImageEditor.Placements
- Method PdfDocumentImageExportBuilder.Pages
- Method PdfDocumentPages.Append
- Method PdfDocumentPages.AppendResult
- Method PdfDocumentPages.Delete
- Method PdfDocumentPages.DeleteResult
- Method PdfDocumentPages.Duplicate
- Method PdfDocumentPages.DuplicateResult
- Method PdfDocumentPages.Extract
- Method PdfDocumentPages.ExtractResult
- Method PdfDocumentPages.ImposeBooklet
- Method PdfDocumentPages.ImposeNUp
- Method PdfDocumentPages.Insert
- Method PdfDocumentPages.InsertResult
- Method PdfDocumentPages.Move
- Method PdfDocumentPages.MoveResult
- Method PdfDocumentPages.NormalizeRotation
- Method PdfDocumentPages.NormalizeRotationResult
- Method PdfDocumentPages.Prepend
- Method PdfDocumentPages.PrependResult
- Method PdfDocumentPages.Reorder
- Method PdfDocumentPages.ReorderResult
- Method PdfDocumentPages.Rotate
- Method PdfDocumentPages.RotateBy
- Method PdfDocumentPages.RotateByResult
- Method PdfDocumentPages.RotateResult
- Method PdfDocumentPages.SetPageBoxResult
- Method PdfDocumentPages.Split
- Method PdfDocumentPages.SplitResult
- Method PdfDocumentProof.CompareVisual
- Method PdfDocumentRenderer.ExportImages
- Method PdfDocumentRenderer.Pages
- Method PdfDocumentResources.Fonts
- Method PdfImageExportExtensions.ExportImages
- Method PdfPageAttributeEdit.CropMargins
- Method PdfPageAttributeEdit.ResetCrop
- Method PdfPageAttributeEdit.RotateBy
- Method PdfPageAttributeEdit.SetBox
- Method PdfPageAttributeEdit.SetRotation
- Method PdfPageSelection.Equals
- Method PdfPageSelection.TryParse
- Extension method PdfReadDocument.ExportImages
- Method PdfVisualComparer.Compare
Methods
public Boolean Equals(PdfPageSelection? other) #BooleanIndicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.Pdf.PdfPageSelection?
- An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
public override Boolean Equals(Object? obj) #BooleanDetermines whether the specified object is equal to the current object.
Parameters
- obj System.Object?
- The object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.
public static PdfPageSelection From(params Int32[] pageNumbers) #PdfPageSelectionCreates a selection from one or more one-based page numbers.
Parameters
- pageNumbers System.Int32[]
public static PdfPageSelection From(PdfPageRange pageRange) #PdfPageSelectionCreates a selection from one inclusive one-based page range.
Parameters
- pageRange OfficeIMO.Pdf.PdfPageRange
public static PdfPageSelection FromRanges(params PdfPageRange[] pageRanges) #PdfPageSelectionCreates a selection from one or more inclusive one-based page ranges.
Parameters
- pageRanges OfficeIMO.Pdf.PdfPageRange[]
public override Int32 GetHashCode() #Int32Serves as the default hash function.
Returns
A hash code for the current object.
public static PdfPageSelection Parse(String pageRanges) #PdfPageSelectionParses comma- or semicolon-separated one-based page ranges such as 1, 1-3, or 3,1-2.
Parameters
- pageRanges System.String
public IReadOnlyList<Int32> Resolve(Int32 pageCount) #IReadOnlyList<Int32>Resolves this selection against a document page count, preserving caller order and repeated pages.
Parameters
- pageCount System.Int32
public override String ToString() #StringReturns a string that represents the current object.
Returns
A string that represents the current object.
public static Boolean TryParse(String? pageRanges, out PdfPageSelection? selection) #BooleanAttempts to parse comma- or semicolon-separated one-based page ranges.
Parameters
- pageRanges System.String?
- selection OfficeIMO.Pdf.PdfPageSelection?