...
How WordApplication insert elements
Excerpt |
---|
Each of the elements listed in the document tree structure inherit from the Element class, which provides most of the methods for inserting new elements into a document. WordApplication will allow you to call any Insert method on almost any type of element, but the behavior of that method will change depending on what type of element the method is called on and what type of element the method is inserting. |
For example:
- Inserting a new Section automatically inserts a new Paragraph and CharacterRun within that Section.
- Inserting a new Paragraph automatically inserts a new CharacterRun within that Paragraph.
...