Leadtools.Forms.Auto Namespace > IMasterFormsCategory Interface > AddMasterForm Method : AddMasterForm(FormRecognitionAttributes,FormPages,Stream) Method |
IMasterForm AddMasterForm( FormRecognitionAttributes attributes, FormPages fields, Stream stream )
'Declaration Overloads Function AddMasterForm( _ ByVal attributes As FormRecognitionAttributes, _ ByVal fields As FormPages, _ ByVal stream As Stream _ ) As IMasterForm
'Usage Dim instance As IMasterFormsCategory Dim attributes As FormRecognitionAttributes Dim fields As FormPages Dim stream As Stream Dim value As IMasterForm value = instance.AddMasterForm(attributes, fields, stream)
IMasterForm^ AddMasterForm( FormRecognitionAttributes^ attributes, FormPages^ fields, Stream^ stream )
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.