Posted 21 March 2022, 2:00 pm EST
I am using the GcPdfDocument.FindText method with a regular expression search parameter. This method correctly finds matching text, but the result doesn’t seem to include a property that shows the text that was actually matched. It has a NearText property, but it includes additional text “near” the found text (hence the name NearText, I guess). Is the exact matched text intentionally not returned for some reason? I guess I could use the .NET regex function on the NearText property to extract the exact text, but that feels like an unneccessary step. Am I missing something? Thanks.