PdfRewritePreservationMatrixScenario
OfficeIMO.Pdf
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.
Returned or exposed by 1
Constructors
public PdfRewritePreservationMatrixScenario(string id, string operation, byte[] sourcePdf, Func<byte[], byte[]> rewrite) #Creates a rewrite-preservation matrix scenario.
Parameters
- id string
- operation string
- sourcePdf byte[]
- rewrite System.Func<byte[], byte[]>
Methods
public PdfRewritePreservationMatrixScenario WithSourceFeatures(params string[] features) #Adds source feature labels and returns this scenario for fluent setup.
Parameters
- features string[]
Inherited Methods
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.