TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

GetAllForms

GetAllForms() → { Array.<ContentControl> }

Returns information about all the forms that have been added to the document.

Parameters:

This method doesn't have any parameters.

Returns:

Type
Array.<ContentControl>

Example

Copy code
window.Asc.plugin.executeMethod ("GetAllForms", null, function (data) {
    for (var i = 0; i < data.length; i++) {
        if (data[i].Tag == 11) {
            this.Asc.plugin.executeMethod ("SelectContentControl", [data[i].InternalId]);
            break;
        }
    }
});