[]
Represents a section element in a body content.
public class Section : IBrowsable<Section>
Public Class Section
Implements IBrowsable(Of Section)
| Name | Description |
|---|---|
| Children | Gets the collection of the children of this content object. |
| Document | Gets the DocumentBase that contains this content object. |
| End | Gets the Marker representing the end of this content object in the parent body. |
| Footers | Gets the collection of footers for this section. |
| Guid | Gets the section unique identifier. |
| Headers | Gets the collection of headers for this section. |
| Index | Gets the index of this section in the document. |
| Next | Gets the next section. |
| PageSetup | Gets the PageSetup object associated with this section. |
| ParentBody | Gets the parent Body of this content object. |
| Previous | Gets the previous section. |
| ProtectedForForms | Gets or sets a value indicating whether this section is protected for forms. When a section is protected for forms, users can select and modify text only in form fields in Microsoft Word. |
| RevisionId | Gets unique identifiers used to track the section editing session. |
| Start | Gets the Marker representing the start of this content object in the parent body. |
| Name | Description |
|---|---|
| AddContentControl(ContentControlType, bool) | Adds a ContentControl to the end of the section. |
| AddParagraph() | Adds a Paragraph to the end of the section. |
| AddParagraph(Style) | Adds a Paragraph to the end of the section. |
| AddParagraph(string) | Adds a Paragraph to the end of the section. |
| AddParagraph(string, Style) | Adds a Paragraph to the end of the section. |
| AddTable() | Adds a Table to the end of the section. |
| AddTable(Style) | Adds a Table to the end of the section. |
| AddTable(int, int) | Adds a Table to the end of the section. |
| AddTable(int, int, Style) | Adds a Table to the end of the section. |
| AddTable(string[][]) | Adds a Table to the end of the section. |
| AddTable(string[][], Style) | Adds a Table to the end of the section. |
| CanAdd(Type) | Checks whether a ContentObject of the specified type can be added to the current section. |
| CanAdd(Type, out Exception) | Checks whether a ContentObject of the specified type can be added to the current section. |
| CanAddContentControl(ContentControlType) | Checks whether a ContentControl of the specified type can be added to the current section. |
| CanAddContentControl(ContentControlType, out Exception) | Checks whether a ContentControl of the specified type can be added to the current section. |
| Delete() | Deletes the section from the parent Body. |
| GetChildren<T>() | Gets the collection of this section's children of a specified type. |
| GetRange() | Creates and returns a Range associated with this content object. |
| MergeWithNext() | Merges this section with the next one. |
| MergeWithPrevious() | Merges this section with the previous one. |
| ToString() | Gets string representation of the section. |