Click or drag to resize
ImageViewerControlAnnotations Property
Collection of annotations to draw over the control canvas

Namespace: DevScope.Ocr.Utils
Assembly: DevScope.Ocr.Tesseract.Windows.x86 (in DevScope.Ocr.Tesseract.Windows.x86.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public List<ImageViewerControlIAnnotation> Annotations { get; }

Property Value

Type: ListImageViewerControlIAnnotation
Examples
This code snippet shows how to add annotation to a image viewer instance.
.............
pictureViewer1.Annotations.Clear();
foreach (var w in hitWords)
{
    pictureViewer1.Annotations.Add(new Utils.ImageViewerControl.HighlightRegion()
    {
        Bounds = w.Bounds
    });    
}
pictureViewer1.Refresh();
.............
See Also