evCreate API 5.7 Help

EvPdfTextFlowOptions Enumeration

The EvPdfTextFlowOptions TS enumeration defines the options for handling text flow when importing content from a PDF file. Since PDFs are primarily designed for display rather than structured text editing, different import options determine how the text is processed and formatted.

ContinuousFlow: "continuous_flow";

The text will be imported as a single, continuous block, ignoring the line breaks in the original PDF file.

Disabled: "disabled";

Text flow handling is turned off—the text will be imported exactly as it appears in the original PDF file, with all formatting and line breaks preserved. However, this might result in awkward breaks if the PDF has a rigid layout. It is the default setting shipped in the deployment package.

HardReturns: "hard_returns";

Line breaks (hard returns) from the original PDF file will be explicitly kept, meaning each line of text from the original PDF file will remain as a separate line in the imported content.

Example

The following example is a text with fixed line breaks.


The quick brown
fox jumps over
the lazy dog.

ContinuousFlow

The imported text is a single paragraph and flows naturally.

The quick brown fox jumps over the lazy dog.

Disabled

The imported text might include separate text blocks. Each line is a separate text block or paragraph.

The quick brown

fox jumps over

the lazy dog.

HardReturns

The imported text preserves the original line breaks.


The quick brown
fox jumps over
the lazy dog.

12 February 2025