API Reference

Class

PdfOperationResult`1

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Result returned by preflight-gated PDF operations.

Inheritance

  • Object
  • PdfOperationResult`1

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

Type Parameters

T
Operation value type.

Methods

public T RequireValue() #
Returns: T

Returns the operation value or throws with diagnostics when the operation failed.

Properties

public String OperationName { get; } #

Human-readable operation name.

public PdfPreflightCapability Capability { get; } #

Preflight capability required by the operation.

public PdfDocumentPreflight Preflight { get; } #

Preflight report used before attempting the operation.

public PdfMutationPlan MutationPlan { get; } #

Mutation plan that selected the execution path, when this was an existing-document mutation.

public Boolean CanAttempt { get; } #

True when preflight allowed the operation to be attempted.

public Boolean Succeeded { get; } #

True when the operation completed and produced a value.

public T Value { get; } #

Operation value when the operation completed.

public IReadOnlyList<String> Diagnostics { get; } #

Human-readable diagnostics explaining a blocked or failed operation.

public Exception Exception { get; } #

Exception captured from an attempted operation, when available.