Onetastic Macro Documentation >
>
>
InsertObject InsertObject
Creates a new object and inserts it into OneNote hierarchy or into a OneNote page. Returns the newly created object.
Syntax
Object InsertObject(
Object object,
ObjectType type,
Numeric position)
Parameters
- 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:
- 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.
|