Well, to answer my own questions:
- No. MBS docs do clearly state that LoadHTMLStringMBS is Mac-only.
- Yes. I tried it using .pdf files.
- Code is as simple as:
dim pdfData as MemoryBlock = GetTextFileContents( f )
HTMLViewer1.LoadHTMLStringMBS( pdfData, "application/pdf", "", "" )
… where GetTextFileContents is an IOException-safe method that does just what it says: opens a file and reads the contents in a TextInputStream, returning the result as a string.
Result:
The display in the browser is the same as in Safari.