[]
Represents the body of a document or other content containers.
public class Body : RangeBase, IContentList<ContentObject>, IReadOnlyList<ContentObject>, IReadOnlyCollection<ContentObject>, IEnumerable<ContentObject>, IEnumerable
Public Class Body
Inherits RangeBase
Implements IContentList(Of ContentObject), IReadOnlyList(Of ContentObject), IReadOnlyCollection(Of ContentObject), IEnumerable(Of ContentObject), IEnumerable
Name | Description |
---|---|
Children | Gets the top level children of this body. |
Owner | Gets the owner of the body. |
Type | Gets the BodyType of this body. |
Name | Description |
---|---|
AddContentControl(ContentControlType, bool) | Adds a ContentControl to the end of the current body. |
AddParagraph() | Adds a Paragraph to the end of the current body. |
AddParagraph(Style) | Adds a Paragraph to the end of the current body. |
AddParagraph(string) | Adds a Paragraph to the end of the current body. |
AddParagraph(string, Style) | Adds a Paragraph to the end of the current body. |
AddTable() | Adds a Table to the end of the current body. |
AddTable(Style) | Adds a Table to the end of the current body. |
AddTable(int, int) | Adds a Table to the end of the current body. |
AddTable(int, int, Style) | Adds a Table to the end of the current body. |
AddTable(string[][]) | Adds a Table to the end of the current body. |
AddTable(string[][], Style) | Adds a Table to the end of the current body. |
CanAdd(Type) | Checks whether a ContentObject of the specified type can be added to the current body. |
CanAdd(Type, out Exception) | Checks whether a ContentObject of the specified type can be added to the current body. |
CanAddContentControl(ContentControlType) | Checks whether a ContentControl of the specified type can be added to the current body. |
CanAddContentControl(ContentControlType, out Exception) | Checks whether a ContentControl of the specified type can be added to the current body. |
Clear() | Clears all content objects in this body. |
GetChildren<T>() | Gets the collection of this body's children of a specified type. |