AddMasterForm(FormRecognitionAttributes,FormPages,Stream) 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 FormRecognitionAttributes, _ 
   ByVal fields As FormPages, _ 
   ByVal stream As Stream _ 
) As IMasterForm 
IMasterForm^ AddMasterForm(  
   FormRecognitionAttributes^ attributes, 
   FormPages^ fields, 
   Stream^ stream 
)  

Parameters

attributes
Master Form attributes.

fields
Master Form fields.

stream
A System.IO.Stream containing the name of the Master Form image data.

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 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly