Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~31 People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for SpaceCake1987

I am displaying a web page using the .NET WebBrowser control. I am then using the IHTMLDocument2 to capture the text that the user has highlighted as shown below: [code] IHTMLDocument2 htmlDocument = webBrowser.Document.DomDocument as IHTMLDocument2; IHTMLSelectionObject currentSelection = htmlDocument.selection; if (currentSelection != null) { IHTMLTxtRange range = currentSelection.createRange() as …

0
31

The End.