You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
var quoteValue = "";
for (var i = 0; i < document.NumberOfPages; i++)
{
var page = document.GetPage(i + 1);
var pageText = DefaultPageSegmenter.Instance.GetBlocks(page.GetWords(NearestNeighbourWordExtractor.Instance));
bool hasForm = document.TryGetForm(out AcroForm form);
if (pageText.ToString().Contains("Price"))
{
break;
}
}
}```
the pdf has acroforms.
I am able to get the acroform value and the pdf text value , what i want to get the acroform value that is a particular text, for example the acroform at index 5 is the value i am interested and the text before that is Price
is there a way i can get this ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the following code ,
Beta Was this translation helpful? Give feedback.
All reactions