FieldTemplateWizardTool Property (WpfFormFieldTemplateEditorTool)
Gets the field template wizard tool.
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);
}
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5