VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.FormRecognition.Wpf.UI.VisualTools Namespace / WpfFormFieldTemplateEditorTool Class / FieldTemplateWizardTool Property
Syntax Example Requirements SeeAlso
In This Topic
    FieldTemplateWizardTool Property (WpfFormFieldTemplateEditorTool)
    In This Topic
    Gets the field template wizard tool.
    Syntax
    Example

    This C#/VB.NET code shows how to set the form field template editor tool and the field template wizard tool to the image viewer.

    
    ''' <summary>
    ''' Sets the form field template editor tool and the field template wizard tool to the specified image viewer.
    ''' </summary>
    ''' <param name="viewer">The image viewer.</param>
    ''' <param name="templateEditorTool">The form field template editor tool.</param>
    Public Shared Sub SetFormFieldTemplateEditorTool(viewer As Vintasoft.Imaging.Wpf.UI.WpfImageViewer, templateEditorTool As Vintasoft.Imaging.FormsProcessing.FormRecognition.Wpf.UI.VisualTools.WpfFormFieldTemplateEditorTool)
        viewer.VisualTool = New Vintasoft.Imaging.Wpf.UI.VisualTools.WpfCompositeVisualTool(templateEditorTool, templateEditorTool.FieldTemplateWizardTool)
    End Sub
    
    
    
    /// <summary>
    /// Sets the form field template editor tool and the field template wizard tool to the specified image viewer.
    /// </summary>
    /// <param name="viewer">The image viewer.</param>
    /// <param name="templateEditorTool">The form field template editor tool.</param>
    public static void SetFormFieldTemplateEditorTool(Vintasoft.Imaging.Wpf.UI.WpfImageViewer viewer,
        Vintasoft.Imaging.FormsProcessing.FormRecognition.Wpf.UI.VisualTools.WpfFormFieldTemplateEditorTool templateEditorTool)
    {
        viewer.VisualTool = new Vintasoft.Imaging.Wpf.UI.VisualTools.WpfCompositeVisualTool(
            templateEditorTool, templateEditorTool.FieldTemplateWizardTool);
    }
    
    

    Requirements

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

    See Also