ImageGear .NET v24.12 - Updated
OpenDocument Method (ImGearRecOutputManager)




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

Parameters

dataFilePath
Specifies the valid data file to be copied into the document class object.

Return Value

New instance of ImGearRecDocument class object.
Remarks

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

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

ImGearRecOutputManager Class
ImGearRecOutputManager Members