Skip to content

AddBlockContentControl

Adds a block content control, such as a rich text or check box control, to the end of the collection.

1
myBlockCollection.AddBlockContentControl(blockContentControlType: ( "Group" | "Bibliography" | "BuildingBlockGallery" | "CheckBox" | "Citation" | "ComboBox" | "Date" | "DocPartObj" | "DropDownList" | "Equation" | "Picture" | "PlainText" | "RepeatingSection" | "RepeatingSectionItem" | "RichText" ), options?: object):BlockContentControl

Parameters

( "Group" | "Bibliography" | "BuildingBlockGallery" | "CheckBox" | "Citation" | "ComboBox" | "Date" | "DocPartObj" | "DropDownList" | "Equation" | "Picture" | "PlainText" | "RepeatingSection" | "RepeatingSectionItem" | "RichText" ) blockContentControlType
    The control type.

object options optional
    Control properties to set.

Returns

The new content control.

See Also