stream The data stream that the content will be streamed from.
baseURL This URL will be used to resolve relative path URLs in the document.
Zurückgegebener Wert
bool
This method loads the documents content from the stream provided. The content is
loaded asynchronously.
function LoadDocContent(filePath)
{
var bx = scene.getBoxById("htmlBox");
if (bx)
{
var fileStrm = shell.serviceManager.basics.fileStream;
fileStrm.openForRead(filePath);
bx.loadStream(fileStrm);
bx.close();
}
}