AddContentControl
Adds an empty content control to the document.
Parameters:
Name |
Type |
Default |
Description |
type |
ContentControlType
|
|
A numeric value that specifies the content control type. It can have one of the following values: 1 (block), 2 (inline), 3 (row), or 4 (cell). |
commonPr |
ContentControlProperties
|
{} |
The common content control properties. |
Returns:
- Type
-
ContentControl
Example
Copy code
window.Asc.plugin.executeMethod ("AddContentControl", [1, {"Id" : 7, "Tag" : "{tag}", "Lock" : 0}]);