 | ImageViewerControlAnnotations Property |
Collection of annotations to draw over the control canvas
Namespace: DevScope.Ocr.UtilsAssembly: DevScope.Ocr.Tesseract.Windows.x86 (in DevScope.Ocr.Tesseract.Windows.x86.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic List<ImageViewerControlIAnnotation> Annotations { get; }
Public ReadOnly Property Annotations As List(Of ImageViewerControlIAnnotation)
Get
public:
property List<ImageViewerControlIAnnotation^>^ Annotations {
List<ImageViewerControlIAnnotation^>^ 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