ImageGear .NET - Updated
Open Method (ImGearRecDocument)




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecDocument Class : Open Method
Specifies the valid data file to be copied to the document.
This method has been deprecated. Creates a new instance of the ImGearRecDocument class and fills it with data from the specified data file.
Syntax
'Declaration
 
Public Shared Function Open( _
   ByVal dataFilePath As String _
) As ImGearRecDocument
'Usage
 
Dim dataFilePath As String
Dim value As ImGearRecDocument
 
value = ImGearRecDocument.Open(dataFilePath)
public static ImGearRecDocument Open( 
   string dataFilePath
)
public: static ImGearRecDocument* Open( 
   string* dataFilePath
) 
public:
static ImGearRecDocument^ Open( 
   String^ dataFilePath
) 

Parameters

dataFilePath
Specifies the valid data file to be copied to the document.

Return Value

New instance of ImGearRecDocument class object.
Remarks

This method throws ImageGear.Core.ImGearException with error code ImageGear.Core.ImGearErrorCodes.NOT_LICENSED if ImGearRecLicenseFeature.FormattedOutput feature is not licensed.

Note: This method has been deprecated and will be removed from the public API in the next release. Please use the ImGearRecOutputManager.OpenDocument method instead.

ImGearRecDocument object created by this method should be disposed before disposing this instance to avoid ImageGear.Core.ImGearException producing an engine initialization error.

See Also

Reference

ImGearRecDocument Class
ImGearRecDocument Members