I have a requirement to capture text from IE 9 (preferably the text currently shown and not the full HTML document). Previous versions of IE used TextOut and you can clearly see the text using an API monitor. Now that IE 9 uses Direct2D/DirectWrite to render the text there is no visible text. Suggestions say that you can hook into the DWrite.dll and grab the text via CreateTextLayout, but this is never called. I assume that the text must be intercepted maybe in MSHTML.dll before this rendering stage.
Any help is obtaining text would be appreciated.
Many thanks in advance.