method loadStream

bool loadStream(stream stream,string baseURL);

Argumente

Zurückgegebener Wert

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();
    }
}