HPDFCommitParagraphReflow

Declaration

function HPDFCommitParagraphReflow(Document: THotPDF;
  const Plan: THPDFParagraphReflowPlan; out Report: THPDFParagraphReflowReport;
  CancellationToken: THPDFCancellationToken = nil): Boolean;

The document must be the same live instance used by preview; changed source or replacement font geometry returns prsStalePreview without mutation

On true, the edit is applied and Status = prsApplied; the caller still owns the plan and decides when to save

Related topics

Bounded paragraph editing · Options · Report