Property PageIndex
PageIndex
Gets the zero-based index of the page being processed. Only meaningful during PageProcessingStarted and PageProcessingCompleted phases.
public int PageIndex { get; }
Property Value
Examples
pdfChat.DocumentImportProgress += (sender, e) =>
{
if (e.Phase == DocumentImportPhase.PageProcessingStarted)
{
Console.WriteLine($"Processing page {e.PageIndex + 1} of {e.TotalPages}");
}
};