AddContentControlList
function AddContentControlList(
type: ContentControlType,
List: (String,
String)[] = [{Display, Value}],
commonPr: ContentControlProperties = {},
): void
Description
Adds an empty content control list to the document.
Parameters
A numeric value that specifies the content control type. It can have one of the following values: 1 (combo box), 0 (dropdown list).
- List
(String, String)[]
[{Display, Value}] A list of the content control elements that consists of two items: Display - an item that will be displayed to the user in the content control list, Value - a value of each item from the content control list.
The common content control properties.
Returns
void