API Reference
PdfDocumentReader
Fluent active-action readback operations for a PdfDocument.
Inheritance
- Object
- PdfDocumentReader
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property PdfDocument.Read
Methods
public IReadOnlyList<PdfAnnotation> Annotations(PdfReadOptions readOptions = null) #IReadOnlyList<PdfAnnotation>Reads generic page annotations in document order.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfAnnotation> AnnotationsByActionType(String actionType, PdfReadOptions readOptions = null) #IReadOnlyList<PdfAnnotation>Reads generic page annotations with a matching primary or additional action type.
Parameters
- actionType System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfAnnotation> AnnotationsBySubtype(String subtype, PdfReadOptions readOptions = null) #IReadOnlyList<PdfAnnotation>Reads generic page annotations with a matching PDF annotation subtype name.
Parameters
- subtype System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfAttachmentInfo> AttachmentMetadata(PdfReadOptions readOptions = null) #IReadOnlyList<PdfAttachmentInfo>Reads attachment metadata without extracting attachment payload bytes.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfAttachmentInfo> AttachmentMetadataByFileName(String fileName, PdfReadOptions readOptions = null) #IReadOnlyList<PdfAttachmentInfo>Reads attachment metadata with a matching file specification file name.
Parameters
- fileName System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfAttachmentInfo> AttachmentMetadataByName(String name, PdfReadOptions readOptions = null) #IReadOnlyList<PdfAttachmentInfo>Reads attachment metadata with a matching name-tree key or associated-file fallback name.
Parameters
- name System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfAttachmentInfo> AttachmentMetadataByRelationship(PdfAssociatedFileRelationship relationship, PdfReadOptions readOptions = null) #IReadOnlyList<PdfAttachmentInfo>Reads attachment metadata with a matching associated-file relationship.
Parameters
- relationship OfficeIMO.Pdf.PdfAssociatedFileRelationship
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfAttachmentInfo> AttachmentMetadataBySource(String source, PdfReadOptions readOptions = null) #IReadOnlyList<PdfAttachmentInfo>Reads attachment metadata from a matching catalog source.
Parameters
- source System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfExtractedAttachment> Attachments(PdfReadOptions readOptions = null) #IReadOnlyList<PdfExtractedAttachment>Extracts embedded-file attachments.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfCatalogAction> CatalogActions(PdfReadOptions readOptions = null) #IReadOnlyList<PdfCatalogAction>Reads catalog-level actions discovered from supported catalog slots and name trees.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfCatalogAction> CatalogActionsByActionType(String actionType, PdfReadOptions readOptions = null) #IReadOnlyList<PdfCatalogAction>Reads catalog-level actions with a matching PDF action type.
Parameters
- actionType System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfCatalogAction> CatalogActionsBySource(String source, PdfReadOptions readOptions = null) #IReadOnlyList<PdfCatalogAction>Reads catalog-level actions from a matching catalog source.
Parameters
- source System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String CatalogLanguage(PdfReadOptions readOptions = null) #StringReads the catalog language tag, for example en-US or pl-PL, when present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String CatalogPageLayout(PdfReadOptions readOptions = null) #StringReads the catalog page layout name, for example SinglePage or TwoColumnLeft, when present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String CatalogPageMode(PdfReadOptions readOptions = null) #StringReads the catalog page mode name, for example UseOutlines or FullScreen, when present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String CatalogVersion(PdfReadOptions readOptions = null) #StringReads the catalog PDF version override, for example 1.7, when present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfDocumentInfo DocumentInfo(PdfReadOptions readOptions = null) #PdfDocumentInfoReads document-level inspection information through the shared inspector model.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String EffectiveVersion(PdfReadOptions readOptions = null) #StringReads the effective PDF version inferred from catalog override or file header version.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<OfficeImageExportResult> ExportImages(OfficeImageExportFormat format, PdfImageExportOptions options = null, PdfPageSelection selection = null, PdfReadOptions readOptions = null, CancellationToken cancellationToken = null) #IReadOnlyList<OfficeImageExportResult>Exports all pages or a caller-ordered selection through the shared image-export contract.
Parameters
- format OfficeIMO.Drawing.OfficeImageExportFormat
- options OfficeIMO.Pdf.PdfImageExportOptions = null
- selection OfficeIMO.Pdf.PdfPageSelection = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
- cancellationToken System.Threading.CancellationToken = null
public String ExportStructured(PdfStructuredExportFormat format, PdfTextLayoutOptions layoutOptions = null) #StringExports the first-party logical model to JSON, Markdown, ALTO XML, hOCR, or PAGE XML.
Parameters
- format OfficeIMO.Pdf.PdfStructuredExportFormat
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
public String ExportStructured(PdfStructuredExportFormat format, PdfTextLayoutOptions layoutOptions, PdfReadOptions readOptions) #StringExports the first-party logical model with explicit read limits or credentials.
Parameters
- format OfficeIMO.Pdf.PdfStructuredExportFormat
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions
- readOptions OfficeIMO.Pdf.PdfReadOptions
public PdfFormField FormField(String fieldName, PdfReadOptions readOptions = null) #PdfFormFieldReturns the simple AcroForm field with the requested fully qualified field name, when present.
Parameters
- fieldName System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfFormField> FormFields(PdfReadOptions readOptions = null) #IReadOnlyList<PdfFormField>Extracts simple AcroForm fields from the logical readback model.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfFormField> FormFields(String fieldName, PdfReadOptions readOptions = null) #IReadOnlyList<PdfFormField>Extracts simple AcroForm fields matching the requested fully qualified field name.
Parameters
- fieldName System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfFormField> FormFields(PdfFormFieldKind kind, PdfReadOptions readOptions = null) #IReadOnlyList<PdfFormField>Extracts simple AcroForm fields for the requested common field kind.
Parameters
- kind OfficeIMO.Pdf.PdfFormFieldKind
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfFormField> FormFields(Int32 pageNumber, PdfReadOptions readOptions = null) #IReadOnlyList<PdfFormField>Extracts simple AcroForm fields represented by widgets on a one-based page number.
Parameters
- pageNumber System.Int32
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalFormWidget> FormWidgets(PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalFormWidget>Extracts AcroForm widget annotations with page geometry from the logical readback model.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalFormWidget> FormWidgets(String fieldName, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalFormWidget>Extracts AcroForm widget annotations for the requested fully qualified field name.
Parameters
- fieldName System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalFormWidget> FormWidgets(Int32 pageNumber, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalFormWidget>Extracts AcroForm widget annotations from a one-based page number.
Parameters
- pageNumber System.Int32
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String HeaderVersion(PdfReadOptions readOptions = null) #StringReads the PDF header version, for example 1.7, when present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfImagePlacement> ImagePlacements(PdfReadOptions readOptions = null) #IReadOnlyList<PdfImagePlacement>Extracts image XObject placement invocations with page geometry.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfImagePlacement> ImagePlacements(PdfPageSelection selection, PdfReadOptions readOptions = null) #IReadOnlyList<PdfImagePlacement>Extracts image XObject placement invocations from selected pages in caller order.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfImagePlacement> ImagePlacements(String pageRanges, PdfReadOptions readOptions = null) #IReadOnlyList<PdfImagePlacement>Extracts image XObject placement invocations from pages described by comma- or semicolon-separated inclusive page ranges.
Parameters
- pageRanges System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfImagePlacement> ImagePlacements(PdfPageSelector selector, PdfReadOptions readOptions = null) #IReadOnlyList<PdfImagePlacement>Extracts image placements from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfExtractedImage> Images(PdfReadOptions readOptions = null) #IReadOnlyList<PdfExtractedImage>Extracts image XObjects.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfExtractedImage> Images(PdfPageSelection selection, PdfReadOptions readOptions = null) #IReadOnlyList<PdfExtractedImage>Extracts image XObjects from selected pages in caller order.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfExtractedImage> Images(String pageRanges, PdfReadOptions readOptions = null) #IReadOnlyList<PdfExtractedImage>Extracts image XObjects from pages described by comma- or semicolon-separated inclusive page ranges.
Parameters
- pageRanges System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfExtractedImage> Images(PdfPageSelector selector, PdfReadOptions readOptions = null) #IReadOnlyList<PdfExtractedImage>Extracts images from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfPageInteractionMap Interactions(Int32 pageNumber, PdfPageInteractionOptions interactionOptions = null, PdfReadOptions readOptions = null) #PdfPageInteractionMapBuilds text-selection and interactive hit regions for one page in visual top-left coordinates.
Parameters
- pageNumber System.Int32
- interactionOptions OfficeIMO.Pdf.PdfPageInteractionOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public Boolean IsPdf20OrLater(PdfReadOptions readOptions = null) #BooleanReturns true when the effective PDF version is PDF 2.0 or later.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public OfficeDrawing LayoutDebugOverlay(Int32 pageNumber, PdfLayoutDebugOverlayOptions overlayOptions = null, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions readOptions = null) #OfficeDrawingCreates a shared-Drawing word, line, region, and reading-order diagnostic overlay.
Parameters
- pageNumber System.Int32
- overlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions = null
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalLinkAnnotation> Links(PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalLinkAnnotation>Extracts URI, named-destination, direct-destination, named-action, and remote GoTo link annotations from the logical model.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalLinkAnnotation> LinksByDestinationName(String destinationName, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalLinkAnnotation>Extracts logical internal link annotations for a named destination.
Parameters
- destinationName System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalLinkAnnotation> LinksByDestinationPageNumber(Int32 pageNumber, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalLinkAnnotation>Extracts logical internal direct-destination link annotations for a one-based destination page number.
Parameters
- pageNumber System.Int32
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalLinkAnnotation> LinksByNamedAction(String namedAction, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalLinkAnnotation>Extracts logical named-action link annotations for a viewer action name.
Parameters
- namedAction System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalLinkAnnotation> LinksByRemoteFile(String remoteFile, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalLinkAnnotation>Extracts logical remote GoTo link annotations for a target file.
Parameters
- remoteFile System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalLinkAnnotation> LinksByUri(String uri, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalLinkAnnotation>Extracts logical URI link annotations for a URI action target.
Parameters
- uri System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfLogicalDocument Logical(PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #PdfLogicalDocumentBuilds the logical document model.
Parameters
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfLogicalDocument Logical(PdfPageSelection selection, PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #PdfLogicalDocumentBuilds the logical document model for selected pages.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfLogicalDocument Logical(String pageRanges, PdfTextLayoutOptions options = null) #PdfLogicalDocumentBuilds the logical document model for selected pages.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
public PdfLogicalDocument Logical(PdfPageSelector selector, PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #PdfLogicalDocumentBuilds the logical model for pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String Markdown(PdfTextLayoutOptions options = null, PdfLogicalMarkdownOptions markdownOptions = null, PdfReadOptions readOptions = null) #StringExtracts Markdown from the logical readback model.
Parameters
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String Markdown(PdfPageSelection selection, PdfTextLayoutOptions options = null, PdfLogicalMarkdownOptions markdownOptions = null, PdfReadOptions readOptions = null) #StringExtracts Markdown from selected pages in the logical readback model.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String Markdown(String pageRanges, PdfTextLayoutOptions options = null, PdfLogicalMarkdownOptions markdownOptions = null) #StringExtracts Markdown from selected pages in the logical readback model.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
public String Markdown(PdfPageSelector selector, PdfTextLayoutOptions options = null, PdfLogicalMarkdownOptions markdownOptions = null, PdfReadOptions readOptions = null) #StringExtracts Markdown from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfMetadata Metadata(PdfReadOptions readOptions = null) #PdfMetadataReads PDF document metadata from the Info dictionary.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfNamedDestination> NamedDestinations(PdfReadOptions readOptions = null) #IReadOnlyList<PdfNamedDestination>Reads named destinations discovered from the document catalog.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public Task<PdfOcrMergeResult> OcrAsync(IPdfOcrProvider provider, PdfOcrMergeOptions options = null, PdfReadOptions readOptions = null, CancellationToken cancellationToken = null) #Task<PdfOcrMergeResult>Runs external OCR through the engine-owned render and native-text merge contract.
Parameters
- provider OfficeIMO.Pdf.IPdfOcrProvider
- options OfficeIMO.Pdf.PdfOcrMergeOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
- cancellationToken System.Threading.CancellationToken = null
public PdfDocumentOpenAction OpenAction(PdfReadOptions readOptions = null) #PdfDocumentOpenActionReads a simple document open action from the document catalog, when supported.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfOptionalContentProperties OptionalContent(PdfReadOptions readOptions = null) #PdfOptionalContentPropertiesReads optional-content/layer metadata when it is present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfOptionalContentGroup> OptionalContentGroups(PdfReadOptions readOptions = null) #IReadOnlyList<PdfOptionalContentGroup>Reads optional-content groups discovered from catalog /OCProperties.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfOptionalContentGroup> OptionalContentGroupsByName(String name, PdfReadOptions readOptions = null) #IReadOnlyList<PdfOptionalContentGroup>Reads optional-content groups with a matching layer display name.
Parameters
- name System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfOutlineItem> Outlines(PdfReadOptions readOptions = null) #IReadOnlyList<PdfOutlineItem>Reads top-level document outline/bookmark entries from the logical model.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfOutputIntentInfo> OutputIntents(PdfReadOptions readOptions = null) #IReadOnlyList<PdfOutputIntentInfo>Reads catalog output-intent metadata.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfOutputIntentInfo> OutputIntentsByOutputConditionIdentifier(String outputConditionIdentifier, PdfReadOptions readOptions = null) #IReadOnlyList<PdfOutputIntentInfo>Reads output intents with a matching /OutputConditionIdentifier.
Parameters
- outputConditionIdentifier System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfOutputIntentInfo> OutputIntentsBySubtype(String subtype, PdfReadOptions readOptions = null) #IReadOnlyList<PdfOutputIntentInfo>Reads output intents with a matching /S subtype.
Parameters
- subtype System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfPageInfo Page(Int32 pageNumber, PdfReadOptions readOptions = null) #PdfPageInfoReads page geometry and page-level metadata for a one-based page number, or null when the page does not exist.
Parameters
- pageNumber System.Int32
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageAction> PageActions(PdfReadOptions readOptions = null) #IReadOnlyList<PdfPageAction>Reads page-level additional actions discovered from page dictionaries.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageAction> PageActions(Int32 pageNumber, PdfReadOptions readOptions = null) #IReadOnlyList<PdfPageAction>Reads page-level additional actions for a one-based page number.
Parameters
- pageNumber System.Int32
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageAction> PageActionsByActionPath(String actionPath, PdfReadOptions readOptions = null) #IReadOnlyList<PdfPageAction>Reads page-level additional actions with a matching stable action path.
Parameters
- actionPath System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageAction> PageActionsByActionType(String actionType, PdfReadOptions readOptions = null) #IReadOnlyList<PdfPageAction>Reads page-level additional actions with a matching PDF action type.
Parameters
- actionType System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageAction> PageActionsByTriggerName(String triggerName, PdfReadOptions readOptions = null) #IReadOnlyList<PdfPageAction>Reads page-level additional actions with a matching page /AA trigger key.
Parameters
- triggerName System.String
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageLabel> PageLabels(PdfReadOptions readOptions = null) #IReadOnlyList<PdfPageLabel>Reads page-label rules discovered from the document catalog.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageInfo> Pages(PdfReadOptions readOptions = null) #IReadOnlyList<PdfPageInfo>Reads page geometry and page-level metadata for all pages.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfRawDocumentView RawStructure(PdfRawStructureOptions structureOptions = null, PdfReadOptions readOptions = null) #PdfRawDocumentViewBuilds a safe, immutable, bounded projection of the active raw object graph.
Parameters
- structureOptions OfficeIMO.Pdf.PdfRawStructureOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfPageRenderResult> RenderPages(PdfPageSelection selection = null, PdfPageRenderOptions options = null, PdfReadOptions readOptions = null, CancellationToken cancellationToken = null) #IReadOnlyList<PdfPageRenderResult>Renders all pages or a caller-ordered selection through the managed batch renderer.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection = null
- options OfficeIMO.Pdf.PdfPageRenderOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
- cancellationToken System.Threading.CancellationToken = null
public IReadOnlyList<PdfPageRenderResult> RenderPages(String pageRanges, PdfPageRenderOptions options = null, PdfReadOptions readOptions = null, CancellationToken cancellationToken = null) #IReadOnlyList<PdfPageRenderResult>Renders parsed page ranges such as 1-3,5 through the managed batch renderer.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfPageRenderOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
- cancellationToken System.Threading.CancellationToken = null
public IReadOnlyList<PdfPageRenderResult> RenderPages(PdfPageSelector selector, PdfPageRenderOptions options = null, PdfReadOptions readOptions = null, CancellationToken cancellationToken = null) #IReadOnlyList<PdfPageRenderResult>Renders pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfPageRenderOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
- cancellationToken System.Threading.CancellationToken = null
public IReadOnlyList<String> SaveImages(String outputDirectory, String baseName = "image", PdfReadOptions readOptions = null) #IReadOnlyList<String>Extracts all readable image XObjects to deterministic files.
Parameters
- outputDirectory System.String
- baseName System.String = "image"
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<String> SaveImages(String outputDirectory, PdfPageSelection selection, String baseName = "image", PdfReadOptions readOptions = null) #IReadOnlyList<String>Extracts image XObjects from selected pages to deterministic files.
Parameters
- outputDirectory System.String
- selection OfficeIMO.Pdf.PdfPageSelection
- baseName System.String = "image"
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfDocumentSecurityInfo Security(PdfReadOptions readOptions = null) #PdfDocumentSecurityInfoReads security, signature, and revision markers.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfTaggedContentInfo TaggedContent(PdfReadOptions readOptions = null) #PdfTaggedContentInfoReads tagged PDF structure metadata when it is present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String Text(PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #StringExtracts plain text from all pages.
Parameters
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String Text(PdfPageSelection selection, PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #StringExtracts plain text from selected pages and concatenates them with blank lines.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public String Text(String pageRanges, PdfTextLayoutOptions options = null) #StringExtracts plain text from selected pages and concatenates them with blank lines.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
public String Text(PdfPageSelector selector, PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #StringExtracts plain text from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalTextBlock> TextBlocks(PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalTextBlock>Extracts line-level logical text blocks from all pages.
Parameters
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalTextBlock> TextBlocks(PdfPageSelection selection, PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalTextBlock>Extracts line-level logical text blocks from selected pages.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<PdfLogicalTextBlock> TextBlocks(String pageRanges, PdfTextLayoutOptions options = null) #IReadOnlyList<PdfLogicalTextBlock>Extracts line-level logical text blocks from selected pages.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
public IReadOnlyList<PdfLogicalTextBlock> TextBlocks(PdfPageSelector selector, PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #IReadOnlyList<PdfLogicalTextBlock>Extracts logical text blocks from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<String> TextByPage(PdfTextLayoutOptions options = null, PdfReadOptions readOptions = null) #IReadOnlyList<String>Extracts plain text for each page.
Parameters
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<String> TextByPage(PdfPageSelection selection, PdfReadOptions readOptions = null) #IReadOnlyList<String>Extracts plain text for selected pages in caller order.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public IReadOnlyList<String> TextByPage(String pageRanges) #IReadOnlyList<String>Extracts plain text for selected pages in caller order.
Parameters
- pageRanges System.String
public IReadOnlyList<String> TextByPage(PdfPageSelector selector, PdfReadOptions readOptions = null) #IReadOnlyList<String>Extracts text per page in the order resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAnnotation>> TryAnnotations(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAnnotation>>Attempts to read generic page annotations, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAnnotation>> TryAnnotationsByActionType(String actionType, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAnnotation>>Attempts to read generic page annotations with a matching primary or additional action type, returning diagnostics when blocked or failed.
Parameters
- actionType System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAnnotation>> TryAnnotationsBySubtype(String subtype, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAnnotation>>Attempts to read generic page annotations with a matching PDF annotation subtype name, returning diagnostics when blocked or failed.
Parameters
- subtype System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>> TryAttachmentMetadata(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>>Attempts to read attachment metadata without extracting attachment payload bytes, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>> TryAttachmentMetadataByFileName(String fileName, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>>Attempts to read attachment metadata with a matching file specification file name.
Parameters
- fileName System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>> TryAttachmentMetadataByName(String name, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>>Attempts to read attachment metadata with a matching name-tree key or associated-file fallback name.
Parameters
- name System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>> TryAttachmentMetadataByRelationship(PdfAssociatedFileRelationship relationship, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>>Attempts to read attachment metadata with a matching associated-file relationship.
Parameters
- relationship OfficeIMO.Pdf.PdfAssociatedFileRelationship
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>> TryAttachmentMetadataBySource(String source, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfAttachmentInfo>>Attempts to read attachment metadata from a matching catalog source.
Parameters
- source System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfExtractedAttachment>> TryAttachments(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfExtractedAttachment>>Attempts to extract embedded-file attachments, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfCatalogAction>> TryCatalogActions(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfCatalogAction>>Attempts to read catalog-level actions, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfCatalogAction>> TryCatalogActionsByActionType(String actionType, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfCatalogAction>>Attempts to read catalog-level actions with a matching PDF action type, returning diagnostics when blocked or failed.
Parameters
- actionType System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfCatalogAction>> TryCatalogActionsBySource(String source, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfCatalogAction>>Attempts to read catalog-level actions from a matching catalog source, returning diagnostics when blocked or failed.
Parameters
- source System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfDocumentInfo> TryDocumentInfo(PdfReadOptions options = null) #PdfOperationResult<PdfDocumentInfo>Attempts to read document-level inspection information, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfFormField>> TryFormFields(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfFormField>>Attempts to extract simple AcroForm fields, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfFormField>> TryFormFields(String fieldName, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfFormField>>Attempts to extract simple AcroForm fields matching the requested fully qualified field name, returning diagnostics when blocked or failed.
Parameters
- fieldName System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfFormField>> TryFormFields(PdfFormFieldKind kind, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfFormField>>Attempts to extract simple AcroForm fields for the requested common field kind, returning diagnostics when blocked or failed.
Parameters
- kind OfficeIMO.Pdf.PdfFormFieldKind
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfFormField>> TryFormFields(Int32 pageNumber, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfFormField>>Attempts to extract simple AcroForm fields represented by widgets on a one-based page number, returning diagnostics when blocked or failed.
Parameters
- pageNumber System.Int32
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalFormWidget>> TryFormWidgets(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalFormWidget>>Attempts to extract AcroForm widget annotations with page geometry, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalFormWidget>> TryFormWidgets(String fieldName, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalFormWidget>>Attempts to extract AcroForm widget annotations for the requested fully qualified field name, returning diagnostics when blocked or failed.
Parameters
- fieldName System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalFormWidget>> TryFormWidgets(Int32 pageNumber, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalFormWidget>>Attempts to extract AcroForm widget annotations from a one-based page number, returning diagnostics when blocked or failed.
Parameters
- pageNumber System.Int32
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfImagePlacement>> TryImagePlacements(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfImagePlacement>>Attempts to extract image XObject placement invocations with page geometry, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfImagePlacement>> TryImagePlacements(PdfPageSelection selection, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfImagePlacement>>Attempts to extract image XObject placement invocations from selected pages, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfImagePlacement>> TryImagePlacements(String pageRanges, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfImagePlacement>>Attempts to extract image XObject placement invocations from pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfImagePlacement>> TryImagePlacements(PdfPageSelector selector, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfImagePlacement>>Attempts to extract image placements from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfExtractedImage>> TryImages(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfExtractedImage>>Attempts to extract image XObjects, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfExtractedImage>> TryImages(PdfPageSelection selection, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfExtractedImage>>Attempts to extract image XObjects from selected pages, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfExtractedImage>> TryImages(String pageRanges, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfExtractedImage>>Attempts to extract image XObjects from pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfExtractedImage>> TryImages(PdfPageSelector selector, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfExtractedImage>>Attempts to extract images from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>> TryLinks(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>>Attempts to extract logical link annotations, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>> TryLinksByDestinationName(String destinationName, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>>Attempts to extract logical internal link annotations for a named destination, returning diagnostics when blocked or failed.
Parameters
- destinationName System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>> TryLinksByDestinationPageNumber(Int32 pageNumber, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>>Attempts to extract logical internal direct-destination link annotations for a one-based destination page number, returning diagnostics when blocked or failed.
Parameters
- pageNumber System.Int32
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>> TryLinksByNamedAction(String namedAction, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>>Attempts to extract logical named-action link annotations for a viewer action name, returning diagnostics when blocked or failed.
Parameters
- namedAction System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>> TryLinksByRemoteFile(String remoteFile, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>>Attempts to extract logical remote GoTo link annotations for a target file, returning diagnostics when blocked or failed.
Parameters
- remoteFile System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>> TryLinksByUri(String uri, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalLinkAnnotation>>Attempts to extract logical URI link annotations for a URI action target, returning diagnostics when blocked or failed.
Parameters
- uri System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfLogicalDocument> TryLogical(PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<PdfLogicalDocument>Attempts to build the logical document model, returning diagnostics when blocked or failed.
Parameters
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfLogicalDocument> TryLogical(PdfPageSelection selection, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<PdfLogicalDocument>Attempts to build the logical document model for selected pages, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfLogicalDocument> TryLogical(String pageRanges, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<PdfLogicalDocument>Attempts to build the logical document model for selected pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfLogicalDocument> TryLogical(PdfPageSelector selector, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<PdfLogicalDocument>Attempts to build the logical model for pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryMarkdown(PdfTextLayoutOptions layoutOptions = null, PdfLogicalMarkdownOptions markdownOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract Markdown from the logical readback model, returning diagnostics when blocked or failed.
Parameters
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryMarkdown(PdfPageSelection selection, PdfTextLayoutOptions layoutOptions = null, PdfLogicalMarkdownOptions markdownOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract Markdown from selected pages, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryMarkdown(String pageRanges, PdfTextLayoutOptions layoutOptions = null, PdfLogicalMarkdownOptions markdownOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract Markdown from selected pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryMarkdown(PdfPageSelector selector, PdfTextLayoutOptions layoutOptions = null, PdfLogicalMarkdownOptions markdownOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract Markdown from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- markdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfMetadata> TryMetadata(PdfReadOptions options = null) #PdfOperationResult<PdfMetadata>Attempts to read PDF document metadata, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfNamedDestination>> TryNamedDestinations(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfNamedDestination>>Attempts to read named destinations, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfOptionalContentProperties> TryOptionalContent(PdfReadOptions options = null) #PdfOperationResult<PdfOptionalContentProperties>Attempts to read optional-content/layer metadata, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfOptionalContentGroup>> TryOptionalContentGroups(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfOptionalContentGroup>>Attempts to read optional-content groups, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfOptionalContentGroup>> TryOptionalContentGroupsByName(String name, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfOptionalContentGroup>>Attempts to read optional-content groups with a matching layer display name, returning diagnostics when blocked or failed.
Parameters
- name System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfOutlineItem>> TryOutlines(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfOutlineItem>>Attempts to read top-level document outline/bookmark entries, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfOutputIntentInfo>> TryOutputIntents(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfOutputIntentInfo>>Attempts to read catalog output-intent metadata, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfOutputIntentInfo>> TryOutputIntentsByOutputConditionIdentifier(String outputConditionIdentifier, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfOutputIntentInfo>>Attempts to read output intents with a matching /OutputConditionIdentifier, returning diagnostics when blocked or failed.
Parameters
- outputConditionIdentifier System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfOutputIntentInfo>> TryOutputIntentsBySubtype(String subtype, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfOutputIntentInfo>>Attempts to read output intents with a matching /S subtype, returning diagnostics when blocked or failed.
Parameters
- subtype System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfPageAction>> TryPageActions(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfPageAction>>Attempts to read page-level additional actions, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfPageAction>> TryPageActions(Int32 pageNumber, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfPageAction>>Attempts to read page-level additional actions for a one-based page number, returning diagnostics when blocked or failed.
Parameters
- pageNumber System.Int32
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfPageAction>> TryPageActionsByActionPath(String actionPath, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfPageAction>>Attempts to read page-level additional actions with a matching stable action path, returning diagnostics when blocked or failed.
Parameters
- actionPath System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfPageAction>> TryPageActionsByActionType(String actionType, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfPageAction>>Attempts to read page-level additional actions with a matching PDF action type, returning diagnostics when blocked or failed.
Parameters
- actionType System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfPageAction>> TryPageActionsByTriggerName(String triggerName, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfPageAction>>Attempts to read page-level additional actions with a matching page /AA trigger key, returning diagnostics when blocked or failed.
Parameters
- triggerName System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfPageLabel>> TryPageLabels(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfPageLabel>>Attempts to read page-label rules, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfPageInfo>> TryPages(PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfPageInfo>>Attempts to read page geometry and page-level metadata for all pages, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfRawDocumentView> TryRawStructure(PdfRawStructureOptions structureOptions = null, PdfReadOptions options = null) #PdfOperationResult<PdfRawDocumentView>Attempts to build a bounded raw object view with preflight diagnostics.
Parameters
- structureOptions OfficeIMO.Pdf.PdfRawStructureOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfDocumentSecurityInfo> TrySecurity(PdfReadOptions options = null) #PdfOperationResult<PdfDocumentSecurityInfo>Attempts to read security, signature, and revision markers, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfTaggedContentInfo> TryTaggedContent(PdfReadOptions options = null) #PdfOperationResult<PdfTaggedContentInfo>Attempts to read tagged PDF structure metadata, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryText(PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract plain text from all pages, returning diagnostics when blocked or failed.
Parameters
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryText(PdfPageSelection selection, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract plain text from selected pages, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryText(String pageRanges, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract plain text from selected pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<String> TryText(PdfPageSelector selector, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<String>Attempts to extract plain text from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>> TryTextBlocks(PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>>Attempts to extract line-level logical text blocks from all pages, returning diagnostics when blocked or failed.
Parameters
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>> TryTextBlocks(PdfPageSelection selection, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>>Attempts to extract line-level logical text blocks from selected pages, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>> TryTextBlocks(String pageRanges, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>>Attempts to extract line-level logical text blocks from selected pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>> TryTextBlocks(PdfPageSelector selector, PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<PdfLogicalTextBlock>>Attempts to extract logical text blocks from pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<String>> TryTextByPage(PdfTextLayoutOptions layoutOptions = null, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<String>>Attempts to extract plain text for each page, returning diagnostics when blocked or failed.
Parameters
- layoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions = null
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<String>> TryTextByPage(PdfPageSelection selection, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<String>>Attempts to extract plain text for selected pages in caller order, returning diagnostics when blocked or failed.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<String>> TryTextByPage(String pageRanges, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<String>>Attempts to extract plain text for selected pages described by page ranges, returning diagnostics when blocked or failed.
Parameters
- pageRanges System.String
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<IReadOnlyList<String>> TryTextByPage(PdfPageSelector selector, PdfReadOptions options = null) #PdfOperationResult<IReadOnlyList<String>>Attempts to extract text per page resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfOperationResult<PdfXmpMetadataInfo> TryXmpMetadata(PdfReadOptions options = null) #PdfOperationResult<PdfXmpMetadataInfo>Attempts to read catalog XMP metadata, returning diagnostics when blocked or failed.
Parameters
- options OfficeIMO.Pdf.PdfReadOptions = null
public PdfUnderstandingResult Understand(PdfPageSelector selector, PdfUnderstandingPipelineOptions options = null, PdfReadOptions readOptions = null, CancellationToken cancellationToken = null) #PdfUnderstandingResultRuns the understanding pipeline for pages resolved by a document-relative selector.
Parameters
- selector OfficeIMO.Pdf.PdfPageSelector
- options OfficeIMO.Pdf.PdfUnderstandingPipelineOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
- cancellationToken System.Threading.CancellationToken = null
public PdfUnderstandingResult Understand(PdfUnderstandingPipelineOptions options = null, PdfPageSelection selection = null, PdfReadOptions readOptions = null) #PdfUnderstandingResultRuns the pluggable text-understanding pipeline for all or selected pages.
Parameters
- options OfficeIMO.Pdf.PdfUnderstandingPipelineOptions = null
- selection OfficeIMO.Pdf.PdfPageSelection = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfViewerPreferences ViewerPreferences(PdfReadOptions readOptions = null) #PdfViewerPreferencesReads simple viewer preference entries from the document catalog, when supported.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public PdfXmpMetadataInfo XmpMetadata(PdfReadOptions readOptions = null) #PdfXmpMetadataInfoReads catalog XMP metadata when a readable metadata stream is present.
Parameters
- readOptions OfficeIMO.Pdf.PdfReadOptions = null