Table of Contents

Class BarcodeSegment

Namespace
LMKit.Extraction.Barcodes
Assembly
LM-Kit.NET.dll

One document found by BarcodeSplitting: its pages, its value and, when the split wrote it, where it went.

public sealed class BarcodeSegment
Inheritance
BarcodeSegment
Inherited Members

Remarks

StartPage and EndPage are 1-based, like DocumentSegment; PageIndexes are the zero-based pages really used, which are not consecutive in GroupByValue mode or when blank pages were removed.

Properties

Barcodes

Gets every barcode that counts on the document's pages, and its trigger, in page order.

Document

Gets the document produced by SplitToAttachments, or null.

EndPage

Gets the 1-based number of the document's last page, or 0 when it has none.

Index

Gets the zero-based position of the document in Segments.

IsContiguous

Gets whether the document's pages follow each other with no gap.

Label

Gets a readable label: the value, or "Pages 3-7".

OutputName

Gets the name the document was given (file name with extension).

OutputPath

Gets the file written by SplitToFiles, or null.

PageCount

Gets the number of pages in the document.

PageIndexes

Gets the zero-based indexes of the document's pages, in document order.

StartPage

Gets the 1-based number of the document's first page, or 0 when it has none.

Trigger

Gets the barcode that delimits the document (its separator, marker or first value), or null.

Value

Gets the document's value, taken from the barcode that delimits it (see ValuePattern), or null for pages no barcode accounts for.

Methods

ToString()
Share