Skip to content

Instantly share code, notes, and snippets.

@manojjha
Created February 9, 2022 17:56
Show Gist options
  • Save manojjha/0bf5ceb7e8e3125328914afd9bec5638 to your computer and use it in GitHub Desktop.
Save manojjha/0bf5ceb7e8e3125328914afd9bec5638 to your computer and use it in GitHub Desktop.
Convert Table item in to List of KeyValuePair<string, Decimal> in Abbyy Flexicapture
List<KeyValuePair<string, decimal>> sumList = new List<KeyValuePair<string, decimal>>();
for(int i = 0; i < rowCount; i++)
{
description = Context.Field("description").Items[i].Text;
amount = Context.Field("amount").Items[i].Text;
sumList.Add(new KeyValuePair<string, decimal>(description, amount));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment