RayCraftDocs
v1.0.3 raycraft.dev
On this page

PdfCompare

Complete

Compares the text of two versions of a PDF page by page and lists what was added, removed and changed, side by side.

Example

PdfCompare control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
NewDataByte[]Bytes of the new version. The comparison runs when either array changes.
NewLabelstringHeading of the new column. Defaults to a localized New version.
NewPasswordstringPassword of the new file when it is protected.
OldDataByte[]Bytes of the old version.
OldLabelstringHeading of the old column. Defaults to a localized Old version.
OldPasswordstringPassword of the old file when it is protected.
StylestringInline style added to the root element.

Events

EventTypeDescription
OnComparedEventCallback<PdfComparison>Raised with the PdfComparison after each comparison.

Package

PdfCompare is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.