API Reference
Class
PdfRewritePreservationMatrixScenario
Describes one executable row in a PDF rewrite-preservation proof matrix.
Inheritance
- Object
- PdfRewritePreservationMatrixScenario
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
Accepted by parameters
Constructors
public PdfRewritePreservationMatrixScenario(String id, String operation, Byte[] sourcePdf, Func<Byte[], Byte[]> rewrite) #Creates a rewrite-preservation matrix scenario.
Parameters
- id System.String
- operation System.String
- sourcePdf System.Byte[]
- rewrite System.Func{System.Byte[],System.Byte[]}
Methods
public PdfRewritePreservationMatrixScenario WithSourceFeatures(params String[] features) #Returns:
PdfRewritePreservationMatrixScenarioAdds source feature labels and returns this scenario for fluent setup.
Parameters
- features System.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 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.