Click or drag to resize

WpfAnnotationRenderingEngineTRenderAnnotation 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
public virtual void RenderAnnotation(
	WpfAnnotationUI annotation,
	WpfRenderEnvironment environment
)

Parameters

annotation
Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation to render.
environment
Type: Atalasoft.Annotate.Wpf.RendererWpfRenderEnvironment
A WpfRenderEnvironment containing information used to render the annotation.

Implements

IWpfAnnotationRendererRenderAnnotation(WpfAnnotationUI, WpfRenderEnvironment)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the arguments are null (Nothing in VB).
Remarks
This method will validate the arguments and setup the rendering transform on the DrawingContext before calling OnRenderAnnotation.
See Also