Hi,
There is no such thing as "view source" for non-Url request. For performance reasons, Chromium browser engine NEVER keeps the whole HTML source when it loads a page. The source HTML contents comes in pieces through the network and the browser engine parse the pieces as it goes. Once the part is parsed, the original contents received from the network is discarded.
When you call "View Source" (or right click the page and then select "View Page Source" from the context menu in Google Chrome browser), the browser engine in fact would re-load the same request. However this time the HTML parser would not kick in and the HTML page is displayed directly as is.
Because there is no Url to reload, "View Source" would not work for contents through Loadhtml. The closest you can get is this method:
https://www.essentialobjects.com/doc/eo.webbrowser.webview.gethtml.aspxHowever this will get the current HTML. So for example, if the source HTML contains JavaScript code that dynamically generates additional contents, then GetHtml would see such additional contents. However the true "view source" feature (if it works for LoadHtml) would not see such content.
Hope this make senses to you.
Thanks!