VintaSoft Imaging .NET SDK 14.1: Документация для .NET разработчика
Vintasoft.Imaging.Annotation.UI Namespace / AnnotationViewFactory Class / RegisterViewForAnnotationData(Type,Type) Method
Синтаксис Exceptions Требования Смотрите также
В этом разделе
    RegisterViewForAnnotationData(Type,Type) Метод (AnnotationViewFactory)
    В этом разделе
    Регистрирует представление для данных аннотации.
    Синтаксис
    'Declaration
    
    Public Shared Sub RegisterViewForAnnotationData( _
    ByVal annotationDataType
    Тип данных аннотации.
    As System.Type, _
    ByVal annotationViewType
    Тип представления аннотации.
    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
    Тип данных аннотации.
    annotationViewType
    Тип представления аннотации.
    Исключения
    ИсключениеОписание
    Выбрасывается, если annotationDataType OR annotationViewType равен null.
    Выбрасывается, если annotationDataType не является производным от AnnotationData ИЛИ annotationViewType не является производным от AnnotationView ИЛИ annotationViewType является абстрактным типом ИЛИ annotationViewType не содержит открытого конструктора с одним параметром, производным от AnnotationData.
    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также