TPDFlibVisualOptionsOperation

Data types, document comparison

Description

Selects which options-driven visual comparison a dispatched call stands for. The value travels with the Operation parameter of the TPDFlibVisualOptionsRun callback.

TPDFlib declares the public methods and a protected dispatch method for the visual comparison of the selected document with a PDF file, driven by JSON options. The edition class supplies the implementation as a callback, and this value tells the callback which public method is calling. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED. Application code never passes a value of this type.

Syntax

Delphi

type TPDFlibVisualOptionsOperation = (voCompare, voSaveReview);

Values

voCompareComparison that returns a JSON report, optionally with the mask and overlay of one page pair; the operation behind CompareFileVisualsEx
voSaveReviewComparison that writes a review PDF with both sides of every page pair; the operation behind SaveVisualComparisonPDF

See also

TPDFlibVisualOptionsRun, CompareFileVisualsEx, SaveVisualComparisonPDF