Visual Basic (Declaration) | |
---|---|
Public Function GetData() As Byte() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public byte[] GetData() |
C++/CLI | |
---|---|
public: array<byte>^ GetData(); |
This example saves form's attributes to a file.
Visual Basic | Copy Code |
---|---|
''' This method saves master form attributes to the specified file name. |
C# | Copy Code |
---|---|
/// This method saves master form attributes to the specified file name. |
To start modifying the form's attributes you have to open it using FormRecognitionEngine.OpenMasterForm for Master Forms or FormRecognitionEngine.OpenForm for Forms, or create it using FormRecognitionEngine.CreateMasterForm for Master Forms or FormRecognitionEngine.CreateForm for Forms.
Forms attributes data will be updated with the changes you made to the form attributes such as addition of a page or deletion of a page once the attributes is closed using either FormRecognitionEngine.CloseMasterForm for Master Form attributes or FormRecognitionEngine.CloseForm for Form attributes.
Once you finish modifying the form's attributes close it to reflect yoru changes.
GetData is useful to save attributes data specially for Master forms on the disk or database.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family