Control Hyphenation

There are two types of hyphens in a PDF document:

By default, KeyView skips the source document’s soft hyphens in the Filter output to provide more searchable text content. However, if you want to maintain the document layout, you can keep soft hyphens in the Filter output. To keep soft hyphens, you must enable the soft hyphen flag in formats.ini or in the API.

Use the formats.ini File

To keep soft hyphens using the formats.ini file, set the following parameter:

[pdf_flags]
keepsofthyphen=TRUE

Use the .NET API

To keep soft hyphens using the Java API, set the KeepSoftHyphen property to TRUE. For example:

objFilter.KeepSoftHyphen = TRUE;

_HP_HTML5_bannerTitle.htm