VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.FormRecognition.Wpf.UI Namespace / WpfFormFieldViewFactory Class / RegisterViewForField(Type,Type) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
RegisterViewForField(Type,Type) Method (WpfFormFieldViewFactory)
In This Topic
Registers view for form field.
Syntax
'Declaration

Public Shared Sub RegisterViewForField( _
ByVal fieldType
Type of form field.
As System.Type, _
ByVal fieldViewType
Type of form field view.
As System.Type _
)
public static void RegisterViewForField(
System.Type fieldType,
System.Type fieldViewType
)

Parameters

fieldType
Type of form field.
fieldViewType
Type of form field view.
Exceptions
ExceptionDescription
Thrown if fieldType OR fieldViewType is null.
Thrown if fieldType is not derived from FormField OR fieldViewType is not derived from FormFieldView OR fieldViewType is abstract type OR fieldViewType does not contain a public constructor with a single parameter derived from FormField.
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