BlockContentControl¶
Represents a content control that contains blocks, such as a rich text area that users fill in a word processor.
Capabilities¶
Content Controls¶
- BlockContentControl.Blocks: Gets the blocks inside the content control.
- BlockContentControl.ContentControlType: Gets the content control type.
Properties¶
- BlockContentControl.Content: Gets the content range of the element, for example to replace text only inside this element.
- BlockContentControl.ElementType: Gets the element type name, such as
'Paragraph','Run'or'Table'.
Methods¶
- BlockContentControl.Clone: Creates a copy of the element. The copy is not part of the document until it is added to a collection with the collection's
Appendmethod, such as BlockCollection.Append. - BlockContentControl.GetChildElements: Returns the child elements.
- BlockContentControl.GetParentElements: Returns the ancestors of the element, starting from the direct parent.