Table of Contents

Property PageIndex

Namespace
LMKit.Retrieval.Events
Assembly
LM-Kit.NET.dll

PageIndex

Gets the zero-based index of the page being processed. Only meaningful during PageProcessingStarted and PageProcessingCompleted phases.

public int PageIndex { get; }

Property Value

int

Examples

pdfChat.DocumentImportProgress += (sender, e) =>
{
    if (e.Phase == DocumentImportPhase.PageProcessingStarted)
    {
        Console.WriteLine($"Processing page {e.PageIndex + 1} of {e.TotalPages}");
    }
};
Share