Click or drag to resize

WpfAnnotationRenderingEngineTOnRenderAnnotation Method

Called to render the annotation.

Namespace:  Atalasoft.Annotate.Wpf.Renderer
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected virtual void OnRenderAnnotation(
	T annotation,
	WpfRenderEnvironment environment
)

Parameters

annotation
Type: T
The annotation to render.
environment
Type: Atalasoft.Annotate.Wpf.RendererWpfRenderEnvironment
A WpfRenderEnvironment containing information used to render the annotation.
Remarks
The annotation and environment arguments have already be verified as non-null and the annotation rendering transform has been applied to the environment.DrawingContext before this method is called.
See Also