OcrResult.Lines Property

Definition

Gets the collection of OcrLine objects that represents the lines of text detected in the image by the RecognizeAsync method.

public:
 property IVectorView<OcrLine ^> ^ Lines { IVectorView<OcrLine ^> ^ get(); };
IVectorView<OcrLine> Lines();
public IReadOnlyList<OcrLine> Lines { get; }
var iVectorView = ocrResult.lines;
Public ReadOnly Property Lines As IReadOnlyList(Of OcrLine)

Property Value

The collection of OcrLine objects that represents the lines of text detected in the image by the RecognizeAsync method.

Remarks

When you call the RecognizeAsync method of the OcrEngine class, the method returns an OcrResult object. The OcrResult contains a collection of OcrLine objects, which you access through the Lines property of the OcrResult. Each OcrLine object contains a collection of OcrWord objects, which you access through the Words property of each OcrLine.

Applies to