Skip to main content

AddContentControlPicture

Adds an empty content control picture to the document.

Syntax​

expression.AddContentControlPicture(commonPr);

expression - A variable that represents an Api class.

Parameters​

NameRequired/OptionalData typeDefaultDescription
commonPrOptionalContentControlProperties{}The common content control properties.

Returns​

This method doesn't return any data.

Example​

window.Asc.plugin.executeMethod ("AddContentControlPicture", [{"Id" : 7, "Tag" : "{tag}", "Lock" : 0}]);