←Select platform

AddMasterForm(FormRecognitionAttributes,FormPages,string) Method

Summary

Adds a new Master Form to this category in both the storage device and MasterForms.

Syntax

C#
VB
C++
  
Overloads Function AddMasterForm( _ 
   ByVal attributes As Leadtools.Forms.Recognition.FormRecognitionAttributes, _ 
   ByVal fields As Leadtools.Forms.Processing.FormPages, _ 
   ByVal fileName As String _ 
) As Leadtools.Forms.Auto.IMasterForm 

Parameters

attributes
Master Form attributes.

fields
Master Form fields.

fileName
A System.String containing the name of the Master Form image file.

Return Value

Returns an object of the created IMasterForm.

Remarks

Master Form information contain a form's attributes, fields, and image.

Each Master Form must have an attributes, if attributes is null, it will throw an exception.

The created Master Form is added to MasterForms and should also be created on the storage device.

The repository does not need to be refreshed after this modification to the storage device since the repository is updated by this method.

Example

A full example implementation of this interface can be found in <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly