ImageGear .NET - Updated
Create Method (ImGearRecDocument)




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecDocument Class : Create Method
Specifies the intermediate data file. If this parameter is null or equal to "", then the file name will be generated automatically.
This method has been deprecated. Creates a new instance of the ImGearRecDocument class. A null or empty string argument is valid.
Syntax
'Declaration
 
<ObsoleteAttribute("Use ImGearRecOutputManager.CreateDocument instead")>
Public Shared Function Create( _
   ByVal dataFilePath As String _
) As ImGearRecDocument
'Usage
 
Dim dataFilePath As String
Dim value As ImGearRecDocument
 
value = ImGearRecDocument.Create(dataFilePath)
[Obsolete("Use ImGearRecOutputManager.CreateDocument instead")]
public static ImGearRecDocument Create( 
   string dataFilePath
)
[Obsolete("Use ImGearRecOutputManager.CreateDocument instead")]
public: static ImGearRecDocument* Create( 
   string* dataFilePath
) 
[Obsolete("Use ImGearRecOutputManager.CreateDocument instead")]
public:
static ImGearRecDocument^ Create( 
   String^ dataFilePath
) 

Parameters

dataFilePath
Specifies the intermediate data file. If this parameter is null or equal to "", then the file name will be generated automatically.

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.CreateDocument 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