Table of Contents

Enum PdfSearchableMaker.TextDetectionStrategy

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

Specifies the algorithm used to determine whether a page already contains searchable text. Only meaningful when Skip is active.

public enum PdfSearchableMaker.TextDetectionStrategy

Fields

TextOnly = 0

A page is considered text-bearing only if it contains exclusively text objects (no images, paths, or shadings). This is the strictest check: any page with a scanned image will be OCRed even if it also contains some text. This is the default strategy.

HasText = 1

A page is considered text-bearing if it contains any extractable text, regardless of whether it also contains images or other non-text objects. Use this for mixed-content PDFs where some pages have both scanned images and a partial text layer that should be preserved.

Share