Accusoft.FormDirector3.Net - Updated
Read Method (FormDefinitionFile)




Accusoft.FormDirectorSdk Namespace > FormDefinitionFile Class : Read Method
Reads a form definition file and places the content into properties of this object.
Syntax
'Declaration
 
Public Overrides Sub Read() 
'Usage
 
Dim instance As FormDefinitionFile
 
instance.Read()
public override void Read()
public: void Read(); override 
public:
void Read(); override 
Remarks

This method reads a form definition file and populates the Name, Fields, TemplateImages, Operations, and OtherDataItems properties.

You do not need to lock the form definition file using the Lock method before you call this method. If the file is not locked, this method will automatically open it, read the contents, and then close it.

Before you call this method, you must set the Filename property to the name of a file that exists, or it will throw an exception.

This method verifies that the form definition file has a valid version number. It will throw an exception if the version number of the file is later than the version that this component recognizes.

See Also

Reference

FormDefinitionFile Class
FormDefinitionFile Members
Lock Method
Write Method
Filename Property