Hey,
we have the same issue when using regular expressions. More precisely we are using this TextFragmentAbsorber …
new Aspose.Pdf.Text.TextFragmentAbsorber("[\w]+", new TextSearchOptions(true));
… to get all words out of the attached pdf document but receiving the same ArgumentOutOfRangeException:
System.ArgumentOutOfRangeException
HResult=0x80131502
Nachricht = Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Quelle = mscorlib
Stapelüberwachung:
bei System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options)
bei System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, CompareOptions options)
bei Aspose.Pdf.Text.TextFragmentAbsorber.( , [] )
bei Aspose.Pdf.Text.TextFragmentAbsorber.Visit(Page page)
bei Aspose.Pdf.Page.Accept(TextFragmentAbsorber visitor)
bei AHelper.Pdf.Page.GetTextFragmentsCore(TextFragmentAbsorber absorber) in C:\_VS.NET\Shared\DocumentHelper\AHelper\Pdf\Page.vb: Zeile83
We are using Aspose.Pdf 18.8.
Are there any news regarding this issue? Or is there another possibility to just receiver the TextFragment for any full word?
Regards
Mark