API Reference
Class
PdfRewritePreservation
Provides reusable preservation checks for PDF rewrite and manipulation operations.
Inheritance
- Object
- PdfRewritePreservation
Methods
AssertPreserved 2 overloads
public static PdfRewritePreservationReport AssertPreserved(Byte[] originalPdf, Byte[] rewrittenPdf) #Returns:
PdfRewritePreservationReportCompares two PDFs and throws when the rewritten PDF violates the default preservation profile.
Parameters
- originalPdf System.Byte[]
- rewrittenPdf System.Byte[]
public static PdfRewritePreservationReport AssertPreserved(Byte[] originalPdf, Byte[] rewrittenPdf, PdfRewritePreservationOptions options) #Returns:
PdfRewritePreservationReportCompares two PDFs and throws when the rewritten PDF violates the supplied preservation profile.
Parameters
- originalPdf System.Byte[]
- rewrittenPdf System.Byte[]
- options OfficeIMO.Pdf.PdfRewritePreservationOptions
Assess 2 overloads
public static PdfRewritePreservationReport Assess(Byte[] originalPdf, Byte[] rewrittenPdf) #Returns:
PdfRewritePreservationReportCompares an original PDF and a rewritten PDF using the default preservation profile.
Parameters
- originalPdf System.Byte[]
- rewrittenPdf System.Byte[]
public static PdfRewritePreservationReport Assess(Byte[] originalPdf, Byte[] rewrittenPdf, PdfRewritePreservationOptions options) #Returns:
PdfRewritePreservationReportCompares an original PDF and a rewritten PDF using the supplied preservation profile.
Parameters
- originalPdf System.Byte[]
- rewrittenPdf System.Byte[]
- options OfficeIMO.Pdf.PdfRewritePreservationOptions