API Reference
PdfRewritePreservationMatrixScenario
Describes one executable row in a PDF rewrite-preservation proof matrix.
Inheritance
- Object
- PdfRewritePreservationMatrixScenario
Usage
Explore 3 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
Accepted by parameters 2
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) #PdfRewritePreservationMatrixScenarioAdds source feature labels and returns this scenario for fluent setup.
Parameters
- features System.String[]
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.