The CreateMasterForm Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- formName
- The name of the Master Form.
- formGuid
- The Master Form's ID.
- formOptions
- The options for the Master Form.
Visual Basic (Declaration) | |
---|---|
Public Function CreateMasterForm( _ ByVal formName As String, _ ByVal formGuid As Guid, _ ByVal formOptions As FormRecognitionOptions _ ) As FormRecognitionAttributes |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FormRecognitionEngine Dim formName As String Dim formGuid As Guid Dim formOptions As FormRecognitionOptions Dim value As FormRecognitionAttributes value = instance.CreateMasterForm(formName, formGuid, formOptions) |
C# | |
---|---|
public FormRecognitionAttributes CreateMasterForm( string formName, Guid formGuid, FormRecognitionOptions formOptions ) |
C++/CLI | |
---|---|
public: FormRecognitionAttributes^ CreateMasterForm( String^ formName, Guid formGuid, FormRecognitionOptions^ formOptions ) |
Parameters
- formName
- The name of the Master Form.
- formGuid
- The Master Form's ID.
- formOptions
- The options for the Master Form.
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example creates a Master Form.
Visual Basic | Copy Code |
---|---|
''' This method creates a Master Form recognition attributes object. 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; } |
This method returns a FormRecognitionEngine object that you can use when creating a Master Form (unfilled form). This method can only be used to create form attributes for a Master Form (unfilled form).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7