VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.UI Namespace / AnnotationViewFactory Class / RegisterViewForAnnotationData Method
Type of annotation data.
Type of annotation view.



In This Topic
    RegisterViewForAnnotationData Method (AnnotationViewFactory)
    In This Topic
    Registers view for annotation data.
    Syntax
    'Declaration
     
    Public Shared Sub RegisterViewForAnnotationData( _
       ByVal annotationDataType As Type, _
       ByVal annotationViewType As Type _
    ) 
    public static void RegisterViewForAnnotationData( 
       Type annotationDataType,
       Type annotationViewType
    )
    public: static void RegisterViewForAnnotationData( 
       Type* annotationDataType,
       Type* annotationViewType
    ) 
    public:
    static void RegisterViewForAnnotationData( 
       Type^ annotationDataType,
       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 Vintasoft.Imaging.Annotation.AnnotationData.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also