API Reference
PdfDocumentPages
Fluent page extraction and editing operations for a PdfDocument.
Inheritance
- Object
- PdfDocumentPages
Usage
Explore 1 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 1
- Property PdfDocument.Pages
Methods
public PdfDocument Append(PdfDocument sourceDocument, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends all pages from another loaded or generated PDF to this document.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Append(PdfDocument sourceDocument, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends selected one-based pages from another loaded or generated PDF to this document.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Append(Byte[] sourcePdf, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends all pages from source PDF bytes to this document.
Parameters
- sourcePdf System.Byte[]
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Append(Byte[] sourcePdf, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends selected one-based pages from source PDF bytes to this document.
Parameters
- sourcePdf System.Byte[]
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Append(Stream sourceStream, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends all pages from a readable source PDF stream to this document.
Parameters
- sourceStream System.IO.Stream
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Append(Stream sourceStream, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends selected one-based pages from a readable source PDF stream to this document.
Parameters
- sourceStream System.IO.Stream
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Append(String sourcePath, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends all pages from a source PDF file to this document.
Parameters
- sourcePath System.String
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Append(String sourcePath, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentAppends selected one-based pages from a source PDF file to this document.
Parameters
- sourcePath System.String
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(PdfDocument sourceDocument, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append pages from another loaded or generated PDF, returning diagnostics when blocked or failed.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(PdfDocument sourceDocument, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append selected pages from another loaded or generated PDF, returning diagnostics when blocked or failed.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(Byte[] sourcePdf, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append source PDF bytes, returning diagnostics when blocked or failed.
Parameters
- sourcePdf System.Byte[]
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(Byte[] sourcePdf, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append selected pages from source PDF bytes, returning diagnostics when blocked or failed.
Parameters
- sourcePdf System.Byte[]
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(Stream sourceStream, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append a readable source PDF stream, returning diagnostics when blocked or failed.
Parameters
- sourceStream System.IO.Stream
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(Stream sourceStream, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append selected pages from a readable source PDF stream, returning diagnostics when blocked or failed.
Parameters
- sourceStream System.IO.Stream
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(String sourcePath, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append a source PDF file, returning diagnostics when blocked or failed.
Parameters
- sourcePath System.String
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> AppendResult(String sourcePath, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to append selected pages from a source PDF file, returning diagnostics when blocked or failed.
Parameters
- sourcePath System.String
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDocument ApplyAttributes(params PdfPageAttributeEdit[] edits) #PdfDocumentApplies ordered page-attribute edits atomically through one output revision or rewrite.
Parameters
- edits OfficeIMO.Pdf.PdfPageAttributeEdit[]
public PdfOperationResult<PdfDocument> ApplyAttributesResult(IReadOnlyList<PdfPageAttributeEdit> edits, PdfLoadOptions? options = null, CancellationToken cancellationToken = default) #PdfOperationResult<PdfDocument>Applies an atomic page-attribute batch and reports the route, reasons and blockers.
Parameters
- edits System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfPageAttributeEdit>
- options OfficeIMO.Pdf.PdfLoadOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Exceptions
OperationCanceledException– The requested cancellation interrupts planning, editing or output adoption.
public IReadOnlyList<PdfBookmarkPageRange> BookmarkPageRanges(params String[] bookmarkTitles) #IReadOnlyList<PdfBookmarkPageRange>Returns outline/bookmark-derived page ranges in document order.
Parameters
- bookmarkTitles System.String[]
public PdfDocument CropAndTranslate(Double left, Double bottom, Double right, Double top, params Int32[] pageNumbers) #PdfDocumentNon-destructively crops selected pages and translates the chosen source rectangle to a zero-based page origin. Content outside the rectangle remains in source streams but is clipped from display.
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- pageNumbers System.Int32[]
public PdfDocument Delete(params Int32[] pageNumbers) #PdfDocumentCreates a new PDF with selected pages deleted.
Parameters
- pageNumbers System.Int32[]
public PdfDocument Delete(PdfPageRange pageRange) #PdfDocumentCreates a new PDF with one inclusive page range deleted.
Parameters
- pageRange OfficeIMO.Pdf.PdfPageRange
public PdfDocument Delete(PdfPageSelection selection) #PdfDocumentCreates a new PDF with selected pages deleted.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
public PdfDocument Delete(String pageRanges) #PdfDocumentCreates a new PDF with comma- or semicolon-separated inclusive page ranges deleted.
Parameters
- pageRanges System.String
public PdfDocument Delete(PdfPageSelector selector) #PdfDocumentCreates a new PDF with pages resolved from a document-relative selector deleted.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
public PdfOperationResult<PdfDocument> DeleteResult(PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with selected pages deleted, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> DeleteResult(String pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with pages described by page ranges deleted, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> DeleteResult(PdfPageSelector selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to delete pages resolved from a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDestructiveCropResult DestructiveCrop(Double left, Double bottom, Double right, Double top, PdfDestructiveCropOptions? options = null, params Int32[] pageNumbers) #PdfDestructiveCropResultDestructively crops selected pages by replacing the retained visual rectangle with a validated opaque raster page.
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- options OfficeIMO.Pdf.PdfDestructiveCropOptions? = null
- pageNumbers System.Int32[]
public PdfDocument Duplicate(params Int32[] pageNumbers) #PdfDocumentCreates a new PDF with selected pages duplicated immediately after each source page.
Parameters
- pageNumbers System.Int32[]
public PdfDocument Duplicate(PdfPageRange pageRange) #PdfDocumentCreates a new PDF with one inclusive page range duplicated.
Parameters
- pageRange OfficeIMO.Pdf.PdfPageRange
public PdfDocument Duplicate(PdfPageSelection selection) #PdfDocumentCreates a new PDF with selected pages duplicated immediately after each source page.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
public PdfDocument Duplicate(String pageRanges) #PdfDocumentCreates a new PDF with parsed page ranges duplicated.
Parameters
- pageRanges System.String
public PdfDocument Duplicate(PdfPageSelector selector) #PdfDocumentCreates a new PDF with pages resolved from a document-relative selector duplicated.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
public PdfOperationResult<PdfDocument> DuplicateResult(PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with selected pages duplicated, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> DuplicateResult(String pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with parsed page ranges duplicated, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> DuplicateResult(PdfPageSelector selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to duplicate pages resolved from a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDocument Extract(params Int32[] pageNumbers) #PdfDocumentCreates a new PDF containing selected pages in caller order.
Parameters
- pageNumbers System.Int32[]
public PdfDocument Extract(CancellationToken cancellationToken, params Int32[] pageNumbers) #PdfDocumentCreates a new PDF containing selected pages in caller order with cooperative cancellation.
Parameters
- cancellationToken System.Threading.CancellationToken
- pageNumbers System.Int32[]
public PdfDocument Extract(PdfPageRange pageRange) #PdfDocumentCreates a new PDF containing one inclusive one-based page range.
Parameters
- pageRange OfficeIMO.Pdf.PdfPageRange
public PdfDocument Extract(PdfPageSelection selection) #PdfDocumentCreates a new PDF containing selected pages in caller order.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
public PdfDocument Extract(String pageRanges) #PdfDocumentCreates a new PDF containing comma- or semicolon-separated inclusive page ranges.
Parameters
- pageRanges System.String
public PdfDocument Extract(PdfPageSelector selector) #PdfDocumentCreates a new PDF containing pages resolved from a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
public PdfOperationResult<PdfDocument> ExtractResult(PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF containing selected pages in caller order, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> ExtractResult(String pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF containing pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> ExtractResult(PdfPageSelector selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to extract pages resolved from a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfImpositionResult ImposeBooklet(PdfBookletOptions options, PdfPageSelection? selection = null) #PdfImpositionResultCreates a two-up duplex booklet in front/back print order. Source pages become visual sheet content.
Parameters
- options OfficeIMO.Pdf.PdfBookletOptions
- selection OfficeIMO.Pdf.PdfPageSelection? = null
public PdfImpositionResult ImposeNUp(PdfNUpOptions options, PdfPageSelection? selection = null) #PdfImpositionResultPlaces selected source pages onto printable sheets as vector page content and returns their cell mapping.
Parameters
- options OfficeIMO.Pdf.PdfNUpOptions
- selection OfficeIMO.Pdf.PdfPageSelection? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, PdfDocument sourceDocument, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts all pages from another loaded or generated PDF before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourceDocument OfficeIMO.Pdf.PdfDocument
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, PdfDocument sourceDocument, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts selected one-based pages from another loaded or generated PDF before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourceDocument OfficeIMO.Pdf.PdfDocument
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, Byte[] sourcePdf, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts all pages from source PDF bytes before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourcePdf System.Byte[]
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, Byte[] sourcePdf, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts selected one-based pages from source PDF bytes before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourcePdf System.Byte[]
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, Stream sourceStream, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts all pages from a readable source PDF stream before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourceStream System.IO.Stream
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, Stream sourceStream, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts selected one-based pages from a readable source PDF stream before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourceStream System.IO.Stream
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, String sourcePath, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts all pages from a source PDF file before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourcePath System.String
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Insert(Int32 insertBeforePageNumber, String sourcePath, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentInserts selected one-based pages from a source PDF file before the supplied one-based page number. Use target page count + 1 to insert at the end.
Parameters
- insertBeforePageNumber System.Int32
- sourcePath System.String
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, PdfDocument sourceDocument, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert pages from another loaded or generated PDF, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourceDocument OfficeIMO.Pdf.PdfDocument
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, PdfDocument sourceDocument, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert selected pages from another loaded or generated PDF, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourceDocument OfficeIMO.Pdf.PdfDocument
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, Byte[] sourcePdf, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert source PDF bytes before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourcePdf System.Byte[]
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, Byte[] sourcePdf, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert selected pages from source PDF bytes before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourcePdf System.Byte[]
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, Stream sourceStream, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert a readable source PDF stream before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourceStream System.IO.Stream
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, Stream sourceStream, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert selected pages from a readable source PDF stream before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourceStream System.IO.Stream
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, String sourcePath, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert a source PDF file before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourcePath System.String
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> InsertResult(Int32 insertBeforePageNumber, String sourcePath, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to insert selected pages from a source PDF file before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- sourcePath System.String
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDocument Move(Int32 insertBeforePageNumber, params Int32[] pageNumbers) #PdfDocumentCreates a new PDF with selected pages moved before the supplied one-based page number. Use page count + 1 to move pages to the end.
Parameters
- insertBeforePageNumber System.Int32
- pageNumbers System.Int32[]
public PdfDocument Move(Int32 insertBeforePageNumber, PdfPageRange pageRange) #PdfDocumentCreates a new PDF with one inclusive page range moved before the supplied one-based page number. Use page count + 1 to move pages to the end.
Parameters
- insertBeforePageNumber System.Int32
- pageRange OfficeIMO.Pdf.PdfPageRange
public PdfDocument Move(Int32 insertBeforePageNumber, PdfPageSelection selection) #PdfDocumentCreates a new PDF with selected pages moved before the supplied one-based page number. Use page count + 1 to move pages to the end.
Parameters
- insertBeforePageNumber System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection
public PdfDocument Move(Int32 insertBeforePageNumber, String pageRanges) #PdfDocumentCreates a new PDF with parsed page ranges moved before the supplied one-based page number. Use page count + 1 to move pages to the end.
Parameters
- insertBeforePageNumber System.Int32
- pageRanges System.String
public PdfDocument Move(Int32 insertBeforePageNumber, PdfPageSelector selector) #PdfDocumentMoves pages resolved from a document-relative selector before a one-based page number.
Parameters
- insertBeforePageNumber System.Int32
- selector OfficeIMO.Pdf.PdfPageSelector
public PdfOperationResult<PdfDocument> MoveResult(Int32 insertBeforePageNumber, PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with selected pages moved before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> MoveResult(Int32 insertBeforePageNumber, String pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with parsed page ranges moved before the supplied one-based page number, returning diagnostics when blocked or failed.
Parameters
- insertBeforePageNumber System.Int32
- pageRanges System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> MoveResult(Int32 insertBeforePageNumber, PdfPageSelector selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to move pages resolved from a document-relative selector.
Parameters
- insertBeforePageNumber System.Int32
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDocument NormalizeRotation(PdfPageSelection? selection = null, CancellationToken cancellationToken = default) #PdfDocumentBakes selected pages' effective quarter-turn rotation into their content and geometry while preserving appearance.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection? = null
- cancellationToken System.Threading.CancellationToken = default
public PdfOperationResult<PdfDocument> NormalizeRotationResult(PdfPageSelection? selection = null, PdfLoadOptions? options = null, CancellationToken cancellationToken = default) #PdfOperationResult<PdfDocument>Normalizes saved rotation and reports the rewrite route and restrictions.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Exceptions
OperationCanceledException– The caller requests cancellation.
public PdfDocument Prepend(PdfDocument sourceDocument, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends all pages from another loaded or generated PDF before this document.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Prepend(PdfDocument sourceDocument, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends selected one-based pages from another loaded or generated PDF before this document.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Prepend(Byte[] sourcePdf, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends all pages from source PDF bytes before this document.
Parameters
- sourcePdf System.Byte[]
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Prepend(Byte[] sourcePdf, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends selected one-based pages from source PDF bytes before this document.
Parameters
- sourcePdf System.Byte[]
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Prepend(Stream sourceStream, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends all pages from a readable source PDF stream before this document.
Parameters
- sourceStream System.IO.Stream
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Prepend(Stream sourceStream, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends selected one-based pages from a readable source PDF stream before this document.
Parameters
- sourceStream System.IO.Stream
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Prepend(String sourcePath, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends all pages from a source PDF file before this document.
Parameters
- sourcePath System.String
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfDocument Prepend(String sourcePath, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null) #PdfDocumentPrepends selected one-based pages from a source PDF file before this document.
Parameters
- sourcePath System.String
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(PdfDocument sourceDocument, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend pages from another loaded or generated PDF, returning diagnostics when blocked or failed.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(PdfDocument sourceDocument, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend selected pages from another loaded or generated PDF, returning diagnostics when blocked or failed.
Parameters
- sourceDocument OfficeIMO.Pdf.PdfDocument
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(Byte[] sourcePdf, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend source PDF bytes, returning diagnostics when blocked or failed.
Parameters
- sourcePdf System.Byte[]
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(Byte[] sourcePdf, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend selected pages from source PDF bytes, returning diagnostics when blocked or failed.
Parameters
- sourcePdf System.Byte[]
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(Stream sourceStream, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend a readable source PDF stream, returning diagnostics when blocked or failed.
Parameters
- sourceStream System.IO.Stream
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(Stream sourceStream, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend selected pages from a readable source PDF stream, returning diagnostics when blocked or failed.
Parameters
- sourceStream System.IO.Stream
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(String sourcePath, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend a source PDF file, returning diagnostics when blocked or failed.
Parameters
- sourcePath System.String
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> PrependResult(String sourcePath, PdfPageSelection sourceSelection, PdfPageImportOptions? importOptions = null, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to prepend selected pages from a source PDF file, returning diagnostics when blocked or failed.
Parameters
- sourcePath System.String
- sourceSelection OfficeIMO.Pdf.PdfPageSelection
- importOptions OfficeIMO.Pdf.PdfPageImportOptions? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDocument Reorder(params Int32[] pageNumbers) #PdfDocumentCreates a new PDF with every page copied in the specified one-based order.
Parameters
- pageNumbers System.Int32[]
public PdfDocument Reorder(String pageRanges) #PdfDocumentCreates a new PDF with every page copied in parsed page-range order.
Parameters
- pageRanges System.String
public PdfDocument Reorder(PdfPageSelection selection) #PdfDocumentCreates a new PDF with every page copied in the selected one-based order.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
public PdfDocument Reorder(PdfPageSelector selector) #PdfDocumentCreates a new PDF with pages copied in the order resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
public PdfOperationResult<PdfDocument> ReorderResult(PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with every page copied in the selected one-based order, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> ReorderResult(String pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with pages copied in parsed page-range order, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> ReorderResult(PdfPageSelector selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to reorder pages resolved from a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfPageRewriteResult ReorderWithMapping(params Int32[] pageNumbers) #PdfPageRewriteResultReorders every page and reports the object numbers needed to retain annotation or object selections.
Parameters
- pageNumbers System.Int32[]
public PdfDocument Resize(PageSize pageSize, params Int32[] pageNumbers) #PdfDocumentResizes selected pages to the supplied page size.
Parameters
- pageSize OfficeIMO.Pdf.PageSize
- pageNumbers System.Int32[]
public PdfDocument Resize(PdfPageResizeOptions options, params Int32[] pageNumbers) #PdfDocumentResizes selected pages with explicit fit, fill, alignment, and scaling settings.
Parameters
- options OfficeIMO.Pdf.PdfPageResizeOptions
- pageNumbers System.Int32[]
public PdfDocument Rotate(Int32 rotationDegrees, params Int32[] pageNumbers) #PdfDocumentCreates a new PDF with selected pages rotated. Supplying no page numbers rotates every page.
Parameters
- rotationDegrees System.Int32
- pageNumbers System.Int32[]
public PdfDocument Rotate(Int32 rotationDegrees, PdfPageRange pageRange) #PdfDocumentCreates a new PDF with one inclusive page range rotated.
Parameters
- rotationDegrees System.Int32
- pageRange OfficeIMO.Pdf.PdfPageRange
public PdfDocument Rotate(Int32 rotationDegrees, PdfPageSelection selection) #PdfDocumentCreates a new PDF with selected pages rotated.
Parameters
- rotationDegrees System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection
public PdfDocument Rotate(Int32 rotationDegrees, String pageRanges) #PdfDocumentCreates a new PDF with parsed page ranges rotated.
Parameters
- rotationDegrees System.Int32
- pageRanges System.String
public PdfDocument Rotate(Int32 rotationDegrees, PdfPageSelector selector) #PdfDocumentRotates pages resolved from a document-relative selector.
Parameters
- rotationDegrees System.Int32
- selector OfficeIMO.Pdf.PdfPageSelector
public PdfDocument RotateBy(Int32 rotationDegrees, params Int32[] pageNumbers) #PdfDocumentTurns selected pages by a multiple of 90 degrees relative to each page's effective rotation. Positive values turn clockwise. If no page numbers are supplied, all pages are turned. Mixed inherited rotations are resolved independently in one mutation.
Parameters
- rotationDegrees System.Int32
- pageNumbers System.Int32[]
public PdfDocument RotateBy(Int32 rotationDegrees, PdfPageSelection selection) #PdfDocumentTurns the selected pages relative to their effective rotation.
Parameters
- rotationDegrees System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection
public PdfDocument RotateBy(Int32 rotationDegrees, PdfPageSelector selector) #PdfDocumentTurns pages resolved by a document-relative selector.
Parameters
- rotationDegrees System.Int32
- selector OfficeIMO.Pdf.PdfPageSelector
public PdfDocument RotateBy(Int32 rotationDegrees, String selector) #PdfDocumentTurns pages resolved by a document-relative selection expression.
Parameters
- rotationDegrees System.Int32
- selector System.String
public PdfOperationResult<PdfDocument> RotateByResult(Int32 rotationDegrees, PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Turns selected pages and reports the mutation route and preservation restrictions.
Parameters
- rotationDegrees System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> RotateByResult(Int32 rotationDegrees, PdfPageSelector selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Turns pages resolved by a document-relative selector and reports the mutation route.
Parameters
- rotationDegrees System.Int32
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> RotateByResult(Int32 rotationDegrees, String selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Turns pages resolved by a document-relative expression and reports the mutation route.
Parameters
- rotationDegrees System.Int32
- selector System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> RotateResult(Int32 rotationDegrees, PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with selected pages rotated, returning diagnostics when blocked or failed.
Parameters
- rotationDegrees System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> RotateResult(Int32 rotationDegrees, String pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to create a new PDF with parsed page ranges rotated, returning diagnostics when blocked or failed.
Parameters
- rotationDegrees System.Int32
- pageRanges System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<PdfDocument> RotateResult(Int32 rotationDegrees, PdfPageSelector selector, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Attempts to rotate pages resolved from a document-relative selector.
Parameters
- rotationDegrees System.Int32
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDocument SetArtBox(Double left, Double bottom, Double right, Double top, params Int32[] pageNumbers) #PdfDocumentSets the art box for selected pages.
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- pageNumbers System.Int32[]
public PdfDocument SetBleedBox(Double left, Double bottom, Double right, Double top, params Int32[] pageNumbers) #PdfDocumentSets the bleed box for selected pages.
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- pageNumbers System.Int32[]
public PdfDocument SetCropBox(Double left, Double bottom, Double right, Double top, params Int32[] pageNumbers) #PdfDocumentSets the crop box for selected pages.
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- pageNumbers System.Int32[]
public PdfDocument SetMediaBox(Double left, Double bottom, Double right, Double top, params Int32[] pageNumbers) #PdfDocumentSets the media box for selected pages.
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- pageNumbers System.Int32[]
public PdfDocument SetPageBox(PdfPageBoundaryBox box, Double left, Double bottom, Double right, Double top, params Int32[] pageNumbers) #PdfDocumentSets a typed boundary box for selected pages, or every page when no page numbers are supplied.
Parameters
- box OfficeIMO.Pdf.PdfPageBoundaryBox
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- pageNumbers System.Int32[]
public PdfOperationResult<PdfDocument> SetPageBoxResult(PdfPageBoundaryBox box, Double left, Double bottom, Double right, Double top, PdfPageSelection selection, PdfLoadOptions? options = null) #PdfOperationResult<PdfDocument>Sets a page boundary box and returns the chosen mutation route, its reasons, and any blockers. This changes page geometry without translating or removing source content.
Parameters
- box OfficeIMO.Pdf.PdfPageBoundaryBox
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfDocument SetTrimBox(Double left, Double bottom, Double right, Double top, params Int32[] pageNumbers) #PdfDocumentSets the trim box for selected pages.
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- pageNumbers System.Int32[]
public IReadOnlyList<PdfDocument> Split() #IReadOnlyList<PdfDocument>Creates one PDF per page.
public IReadOnlyList<PdfDocument> Split(Int32 pagesPerDocument) #IReadOnlyList<PdfDocument>Creates PDFs containing consecutive groups of the requested page count.
Parameters
- pagesPerDocument System.Int32
public IReadOnlyList<PdfDocument> Split(params PdfPageSelection[] selections) #IReadOnlyList<PdfDocument>Creates one PDF for each supplied page selection.
Parameters
- selections OfficeIMO.Pdf.PdfPageSelection[]
public IReadOnlyList<PdfDocument> Split(IEnumerable<PdfPageRange> pageRanges) #IReadOnlyList<PdfDocument>Creates one PDF for each supplied inclusive page range.
Parameters
- pageRanges System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfPageRange>
public IReadOnlyList<PdfDocument> Split(String pageRanges) #IReadOnlyList<PdfDocument>Creates one PDF for each comma- or semicolon-separated inclusive page range.
Parameters
- pageRanges System.String
public IReadOnlyList<PdfDocument> SplitByBookmarks(params String[] bookmarkTitles) #IReadOnlyList<PdfDocument>Creates one PDF for each outline/bookmark-derived page range.
Parameters
- bookmarkTitles System.String[]
public PdfOperationResult<IReadOnlyList<PdfDocument>> SplitByBookmarksResult(IReadOnlyList<String>? bookmarkTitles = null, PdfLoadOptions? options = null) #PdfOperationResult<IReadOnlyList<PdfDocument>>Attempts to create one PDF for each outline/bookmark-derived page range.
Parameters
- bookmarkTitles System.Collections.Generic.IReadOnlyList<System.String>? = null
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public IReadOnlyList<PdfProductionSplitPart> SplitForProduction(PdfProductionSplitOptions options) #IReadOnlyList<PdfProductionSplitPart>Splits this document using bounded page-count, target-size, and content-boundary production rules.
Parameters
- options OfficeIMO.Pdf.PdfProductionSplitOptions
public PdfProductionSplitResult SplitForProductionResult(PdfProductionSplitOptions options) #PdfProductionSplitResultSplits this document and returns the generated parts with bounded-probe evidence.
Parameters
- options OfficeIMO.Pdf.PdfProductionSplitOptions
public PdfOperationResult<IReadOnlyList<PdfDocument>> SplitResult(PdfLoadOptions? options = null) #PdfOperationResult<IReadOnlyList<PdfDocument>>Attempts to create one PDF per page, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<IReadOnlyList<PdfDocument>> SplitResult(Int32 pagesPerDocument, PdfLoadOptions? options = null) #PdfOperationResult<IReadOnlyList<PdfDocument>>Attempts to create PDFs containing consecutive groups of the requested page count.
Parameters
- pagesPerDocument System.Int32
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<IReadOnlyList<PdfDocument>> SplitResult(IReadOnlyList<PdfPageSelection> selections, PdfLoadOptions? options = null) #PdfOperationResult<IReadOnlyList<PdfDocument>>Attempts to create one PDF for each supplied page selection.
Parameters
- selections System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfPageSelection>
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<IReadOnlyList<PdfDocument>> SplitResult(IEnumerable<PdfPageRange> pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<IReadOnlyList<PdfDocument>>Attempts to create one PDF for each supplied inclusive page range, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfPageRange>
- options OfficeIMO.Pdf.PdfLoadOptions? = null
public PdfOperationResult<IReadOnlyList<PdfDocument>> SplitResult(String pageRanges, PdfLoadOptions? options = null) #PdfOperationResult<IReadOnlyList<PdfDocument>>Attempts to create one PDF for each parsed page range, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfLoadOptions? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?