ResultPoints Property

Description

Gets the coordinates of the barcode vertices.

Syntax

public Point[] ResultPoints { get; }

Data type

Point[]

Example

try
{
    BarcodeResult[] results = reader.DecodeFile("C:\\test.bmp");
    Point[] pointResult;
    for(int i = 0; i < results.Length; ++i)
    {
        BarcodeResult barcode = results[i];
        pointResult = barcode.ResultPoints;
    }
}
catch(BarcodeReaderException exp)
{
    Console.WriteLine("Error: {0}, {1}", exp.Code.ToString(), exp.Message);
}

See Also

.NET > Classes > BarcodeReader > DecodeFile
.NET > Classes > BarcodeResult
.NET > Classes > BarcodeReaderException