How to populate TEdgeBrowser from a Stream?

I am looking to change from TWebBrowser to TEdgeBrowser for an application but cannot work out how to load a set of strings to display. TWebBrowser is being populated by:

(Document as IPersistStreamInit).Load(TStreamadapter.Create(AStream))

Where AStream is a TMemoryStream from a TStringList.

The TEdgeBrowser doesn’t have the equivalent of “Document” anyone know how to do this? I don’t want to be writing temporary files to do it, which would be an option…

1 Like