VintaSoft Imaging .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.FormRecognition.UI Namespace / FormFieldTemplateViewFactory Class / RegisterViewForFieldTemplate(Type,Type) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    RegisterViewForFieldTemplate(Type,Type) Method (FormFieldTemplateViewFactory)
    In This Topic
    Registers view for form field template.
    Syntax
    'Declaration
    
    Public Shared Sub RegisterViewForFieldTemplate( _
    ByVal fieldTemplateType
    Type of form field template.
    As System.Type, _
    ByVal fieldTemplateViewType
    Type of form field template view.
    As System.Type _
    )
    public static void RegisterViewForFieldTemplate(
    System.Type fieldTemplateType,
    System.Type fieldTemplateViewType
    )
    public: static void RegisterViewForFieldTemplate(
    System.Type* fieldTemplateType,
    System.Type* fieldTemplateViewType
    )
    public:
    static void RegisterViewForFieldTemplate(
    System.Type^ fieldTemplateType,
    System.Type^ fieldTemplateViewType
    )

    Parameters

    fieldTemplateType
    Type of form field template.
    fieldTemplateViewType
    Type of form field template view.
    Exceptions
    ExceptionDescription
    Thrown if fieldTemplateType OR fieldTemplateViewType is null.
    Thrown if fieldTemplateType is not derived from FormFieldTemplate OR fieldTemplateViewType is not derived from FormFieldTemplateView OR fieldTemplateViewType is abstract type OR fieldTemplateViewType does not contain a public constructor with a single parameter derived from FormFieldTemplate.
    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