VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation.UI Namespace / AnnotationViewFactory Class / RegisterViewForAnnotationData(Type,Type) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    RegisterViewForAnnotationData(Type,Type) Method (AnnotationViewFactory)
    In This Topic
    Registers view for annotation data.
    Syntax
    'Declaration
    
    Public Shared Sub RegisterViewForAnnotationData( _
    ByVal annotationDataType
    Type of annotation data.
    As System.Type, _
    ByVal annotationViewType
    Type of annotation view.
    As System.Type _
    )
    public static void RegisterViewForAnnotationData(
    System.Type annotationDataType,
    System.Type annotationViewType
    )
    public: static void RegisterViewForAnnotationData(
    System.Type* annotationDataType,
    System.Type* annotationViewType
    )
    public:
    static void RegisterViewForAnnotationData(
    System.Type^ annotationDataType,
    System.Type^ annotationViewType
    )

    Parameters

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

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

    See Also