WpfAnnotationRenderersAdd Method |
Adds or replaces a rendering engine for the specified annotation type.
Namespace:
Atalasoft.Annotate.Wpf.Renderer
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic static void Add(
Type annotationType,
IWpfAnnotationRenderer renderer
)
Public Shared Sub Add (
annotationType As Type,
renderer As IWpfAnnotationRenderer
)
Parameters
- annotationType
- Type: SystemType
The annotation type for this renderer. - renderer
- Type: Atalasoft.Annotate.Wpf.RendererIWpfAnnotationRenderer
The renderer to use for the specified type.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if any argument is null (Nothing in VB). |
See Also