Class Body
- Namespace
- FileFormat.Words
- Assembly
- FileFormat.Words.dll
Represents the body of a document, containing paragraphs, tables, images, and sections.
public class Body
- Inheritance
-
Body
- Inherited Members
Constructors
Body(Document)
Initializes a new instance of the Body class with the specified document.
public Body(Document doc)
Parameters
doc
DocumentThe parent document containing the body.
Properties
Images
Gets the list of images in the body.
public List<Image> Images { get; }
Property Value
Paragraphs
Gets the list of paragraphs in the body.
public List<Paragraph> Paragraphs { get; }
Property Value
Sections
Gets the list of sections in the body.
public List<Section> Sections { get; }
Property Value
Tables
Gets the list of tables in the body.
public List<Table> Tables { get; }
Property Value
Methods
AppendChild(IElement)
Appends a child element to the body.
public int AppendChild(IElement element)
Parameters
element
IElementThe element to append to the body.