Creates a new object and inserts it into OneNote hierarchy or into a OneNote page. Returns the newly created object.
- Object object
- Parent object to insert the new object into.
- ObjectType type
- The type of the new object to create and insert. Following types of objects can be inserted: SectionGroup (under a Notebook or a SectionGroup), Section (under a Notebook or a SectionGroup), Page (under a Section), Outline (under a Page), Paragraph (under an Outline or a Cell), Table (under an Outline or a Cell), Row (under a Table), Cell (under a Row), Text (under a Paragraph).
- Numeric position
- The position of the new object. The value is a 0 based index for the child collection or -1 to insert at the end.