Creates a new Master Form attributes object with the specified options. It returns a
FormRecognitionEngine object that you can use for creating a Master Form.
Syntax
Parameters
- formName
-
The Master Form name.
- formGuid
-
The Master Form ID.
- formOptions
-
Specifies the options for the Master Form.
Example
For a complete example on using the forms recognition and processing, refer to the FormRecognitionEngine example.
This example creates a Master Form.
Visual Basic | Copy Code |
---|
Public Function CreateMasterForm(ByVal recognitionEngine As FormRecognitionEngine, ByVal name As String) As FormRecognitionAttributes
Dim attributes As FormRecognitionAttributes = recognitionEngine.CreateMasterForm(name, Guid.Empty, Nothing)
recognitionEngine.CloseMasterForm(attributes)
Return attributes
End Function
|
C# | Copy Code |
---|
/// This method creates a Master Form recognition attributes. public FormRecognitionAttributes CreateMasterForm(FormRecognitionEngine recognitionEngine, string name) { FormRecognitionAttributes attributes = recognitionEngine.CreateMasterForm(name, Guid.Empty, null); recognitionEngine.CloseMasterForm(attributes); return attributes; } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also