THPDFLayoutDiagnosticKind Type

Classifies the layout event recorded by the streaming layout engine in a layout diagnostic record

Declaration

THPDFLayoutDiagnosticKind= (ldkAutomaticPageBreak, ldkKeepWithNext,
  ldkOrphanControl, ldkWidowControl, ldkOverflow, ldkImmediateFlush,
  ldkPageLayer, ldkOverlap);

Unit

HPDFDoc

Values

ValueMeaning
ldkAutomaticPageBreakA new page was started in the normal flow, for example because no complete line fits above the bottom margin
ldkKeepWithNextA page break was taken so the paragraph's final line keeps space for the following paragraph
ldkOrphanControlA page break was moved to preserve the configured minimum number of opening lines
ldkWidowControlThe break point was advanced to preserve the configured minimum number of closing lines
ldkOverflowAn element could not fit and overflowed its bounds, for instance when automatic page addition is disabled
ldkImmediateFlushClosed page content was moved to file-backed layout storage to bound memory use
ldkPageLayerA registered page-layer callback was applied while building a page
ldkOverlapA tracked element's bounds intersected the bounds of a previously tracked element

Usage notes

Related APIs