Property Segments
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Segments
Gets the list of detected document segments, sorted by StartPage.
public IReadOnlyList<DocumentSegment> Segments { get; }
Property Value
- IReadOnlyList<DocumentSegment>
A read-only list of DocumentSegment instances. Never
null; may contain a single element when the file contains only one logical document.
Examples
DocumentSplittingResult result = splitter.Split(new Attachment("batch.pdf"));
foreach (DocumentSegment segment in result.Segments)
{
Console.WriteLine($"Pages {segment.StartPage}-{segment.EndPage}: {segment.Label}");
}