Hi,
I'm creating a class library (dll) for using in Abbyy scripts.
I've referenced the ControllerInterop.dll.
I'm getting an error ...Error 1 'ABBYY.FlexiCapture.IProject' does not contain a definition for 'EnvironmentVariables' and no extension method 'EnvironmentVariables' accepting a first argument of type 'ABBYY.FlexiCapture.IProject' could be found (are you missing a using directive or an assembly reference?)
In the scripts I know you can get the environment variables by
C#
string x = Context.Document.Batch.Project.EnvironmentVariables.Get("variableName");
How can I do this in the dll? why am I getting the error.
Please help!
コメント
1件のコメント
Hello,
Please use this construction: FCTools.ScriptContext.Project.EnvironmentVariables.Get("VarName").
https://help.abbyy.com/en-us/flexicapture/12/distributed_administrator/iexportimagetools
サインインしてコメントを残してください。