Table of Contents

Struct PageTextOverlay

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

Associates a PageElement containing positioned text with a specific page index in a PDF document. Used by PdfSearchableMaker to add invisible text overlays to multiple pages in a single operation.

public readonly struct PageTextOverlay
Inherited Members

Examples

using LMKit.Document.Layout;
using LMKit.Document.Pdf;

var overlays = new[]
{
    new PageTextOverlay(0, page0Layout),
    new PageTextOverlay(2, page2Layout),
    new PageTextOverlay(5, page5Layout),
};

PdfSearchableMaker.AddTextOverlays("document.pdf", overlays, "searchable.pdf");

Constructors

PageTextOverlay(int, PageElement)

Initializes a new PageTextOverlay instance.

Properties

PageElement

Gets the page layout containing positioned text elements to overlay.

PageIndex

Gets the zero-based page index where the text overlay will be added.

Share