property embeds

(r/o) interopArray embeds;

Typ

Zugriff

This property returns the embedded objects as an array of streams. If there are no embedded objects in the document, then null is returned back. This is mainly used for the mail application.
function onEmbeds()
{
    var browser = scene.getBoxById("browser");
    if (browser)
    {
        var list = browser.embeds;
        if (list)
        {
            var count = list.count;
            for (var i = 0; i < count; ++i)
            {
                // Iterate thru all the item.
                var img = list.getValue(i);
                if (img)
                {
                    // do something.
                }
            }
        }
    }
}