The AddMasterForm(FormRecognitionAttributes,FormPages,String) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- attributes
- Master Form attributes.
- fields
- Master Form fields.
- fileName
- A System.String containing the name of the Master Form image file.
Visual Basic (Declaration) | |
---|---|
Overloads Function AddMasterForm( _ ByVal attributes As FormRecognitionAttributes, _ ByVal fields As FormPages, _ ByVal fileName As String _ ) As IMasterForm |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IMasterFormsCategory Dim attributes As FormRecognitionAttributes Dim fields As FormPages Dim fileName As String Dim value As IMasterForm value = instance.AddMasterForm(attributes, fields, fileName) |
C# | |
---|---|
IMasterForm AddMasterForm( FormRecognitionAttributes attributes, FormPages fields, string fileName ) |
C++/CLI | |
---|---|
IMasterForm^ AddMasterForm( FormRecognitionAttributes^ attributes, FormPages^ fields, String^ fileName ) |
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.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7