THotPDF.ApplyLoadedPageTextReplacement Method

function ApplyLoadedPageTextReplacement(
  const Plan: THPDFLoadedTextReplacementPlan;
  out Results: THPDFLoadedTextReplacementPlan): Boolean;

Revalidates a preview's source fingerprint, prepares its embedded fonts and geometry and commits all accepted matches atomically by default

A stale preview raises EInvalidOpException; invalid options or input raise EArgumentException, and resource-limit failures restore the graph transaction

Successful rows report ltrsApplied and increment AppliedCount; inspect per-match results when using the explicit partial-application policy

See PreviewLoadedPageTextReplacement for options, budgets, geometry, result types and unsupported cases