Click or drag to resize

OcrRegionRenderingEngineRenderAnnotation Method

Called to render an annotation.

Namespace:  Atalasoft.Annotate.Renderer
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public override void RenderAnnotation(
	AnnotationData annotation,
	RenderEnvironment e
)

Parameters

annotation
Type: Atalasoft.AnnotateAnnotationData
The annotation to render.
e
Type: Atalasoft.Annotate.RendererRenderEnvironment
A RenderEnvironment containing information used for rendering.

Implements

IAnnotationRendererRenderAnnotation(AnnotationData, RenderEnvironment)
Exceptions
ExceptionCondition
ArgumentNullException annotation or e
ArgumentExceptionOnly OcrRegionData objects can be rendered using the OcrRegionRenderingEngine.;annotation
Remarks
This class will simply render a rectangle with the name of the annotation. For custom annotations a new class implementing IAnnotationRenderer or derived from another renderer must be created.
See Also