Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfRewritePreservationMatrixScenario

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Describes one executable row in a PDF rewrite-preservation proof matrix.

Inheritance

  • object
  • PdfRewritePreservationMatrixScenario

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.

Constructors

public PdfRewritePreservationMatrixScenario(string id, string operation, byte[] sourcePdf, Func<byte[], byte[]> rewrite) #

Creates a rewrite-preservation matrix scenario.

Parameters

id string required
operation string required
sourcePdf byte[] required
rewrite System.Func<byte[], byte[]> required

Methods

public PdfRewritePreservationMatrixScenario WithSourceFeatures(params string[] features) #

Adds source feature labels and returns this scenario for fluent setup.

Parameters

features string[] required

Properties

public string Id { get; } #

Stable scenario id for reports and proof manifests.

public string Operation { get; } #

Human-readable operation name, such as MetadataUpdate or PageExtraction.

public byte[] SourcePdf { get; } #

Original PDF bytes used by the scenario.

public Func<byte[], byte[]> Rewrite { get; } #

Rewrite operation to execute against PdfRewritePreservationMatrixScenario.SourcePdf.

public PdfRewritePreservationMatrixClassification ExpectedClassification { get; set; } #

Expected matrix classification. Defaults to rewrite-safe.

public PdfRewritePreservationOptions? PreservationOptions { get; set; } #

Preservation options used when the rewrite completes.

public IList<string> SourceFeatures { get; } #

Feature labels describing the source fixture.