I am trying to extract data from PDF file using code stage c#.
I referred the link: https://www.codeproject.com/Articles/14170/Extract-Text-from-PDF-in-C-NET
I designed my code and initialize using this link. But I get following error when tried to run the code.
Error:
Internal : Could not...
Errors are resolved by following:
Add System.dll in external references along with System.Data in namespace imports if we are using collections with C#.
In c#:
If output collection stage is collectionOutput then
Code:
DataTable table = new DataTable();
table.Columns.Add("Number", typeof(int));
for(int i=0; i<5; i++)
{
table.Rows.Add(i);
}
collectionOutput = table;
Note: Add System.dll in external references and System.Data in namespace...
If output collection stage is collectionOutput then
Code:
Dim table As New DataTable
table.Columns.Add("Number", GetType(Integer))
For i As Integer = 1 to 5 Step 1
table.Rows.Add(i)
Next
collectionOutput = table
Hope this works fine. :)
@adebroise the namespace System.Data I included. But the thing is it is working with Visual Basic but not with C#. I use C# to write my code, so I need a namespace or dll to be used to eliminate this particular error.
How to use a collection as input in Code stage while writing in C# Programming language?
Whenever I am using the collection in the code, It is showing the error as some reference missing. May I know which additional reference to be used for this to work apart from inbuilt ones?
I have one...
@cs.andras Thank you. But I am trying to find a solution without using image search. I have an option called "uniform colour" in my wait stage to check whether region has uniform colour or not.
Learning > Surface Automation > "Training Document - Surface Automation Advanced Training(v6)" -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.