VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Rendering Namespace / AnnotationRendererFactory Class / RegisterRendererForAnnotationData(Type,Type) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
RegisterRendererForAnnotationData(Type,Type) Method (AnnotationRendererFactory)
In This Topic
Registers renderer for annotation data.
Syntax
'Declaration

Public Shared Sub RegisterRendererForAnnotationData( _
ByVal annotationDataType
Type of annotation data.
As System.Type, _
ByVal annotationRendererType
Type of annotation renderer.
As System.Type _
)
public static void RegisterRendererForAnnotationData(
System.Type annotationDataType,
System.Type annotationRendererType
)

Parameters

annotationDataType
Type of annotation data.
annotationRendererType
Type of annotation renderer.
Exceptions
ExceptionDescription
Thrown if annotationDataType OR annotationRendererType is null.
Thrown if annotationDataType is not derived from AnnotationData OR annotationRendererType is not derived from AnnotationRenderer OR annotationRendererType is abstract type OR annotationRendererType does not contain a public constructor with a single parameter derived from AnnotationData.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also