Vcl.Markdown.TMDViewer.LoadFromStream
Prototype
procedure LoadFromStream(aStream :TStream; const aResourcePath :string = ''; aClearHistory :boolean = FALSE); overload;
procedure LoadFromStream(aStream :TStream; aEncoding :TEncoding; const aResourcePath :string = ''; aClearHistory :boolean = FALSE); overload;
Description
Loads a Markdown script from aStream.
aResourcePath is the path where the resources are located if not fully qualified in the Markdown script or if their location is not relative to the document folder.
Loaded documents are kept in memory for quick access when navigating between them. Set aClearHistory to true to clear the history list and save memory.
aEncoding specifies the document encoding if it is not UTF8.
OnNavigate is fired after this method is called.