TCnWebBrowser.DocumentText Property
Gets or sets the HTML contents of the page displayed in the TCnWebBrowser control.
public property DocumentText: String read GetDocumentText write SetDocumentText;
Property Value
The HTML text of the displayed page, or the empty string ('') if no document is loaded.
Use this property when you want to manipulate the contents of an HTML page displayed in the WebBrowser control using string processing tools. You can use this property, for example, to load pages from a database or to analyze pages using regular expressions. When you set this property, the WebBrowser control automatically navigates to the about:blank URL before loading the specified text. This means that the OnNavigating, OnNavigated, and OnDocumentCompleted events occur when you set this property, and the value of the Url property is no longer meaningful.