Property PageCount
PageCount
Gets the number of pages in the document.
public int PageCount { get; }
Property Value
Examples
var result = await chat.LoadDocumentAsync("report.pdf");
Console.WriteLine($"Document has {result.PageCount} pages.");
Gets the number of pages in the document.
public int PageCount { get; }
var result = await chat.LoadDocumentAsync("report.pdf");
Console.WriteLine($"Document has {result.PageCount} pages.");