Onetastic Macro Documentation >
>
Cell Cell Object
Description
Represents a cell of a table in a OneNote page.
Hierarchical Structure
Cell objects can be found under following objects: Row
Cell objects can contain following objects: Paragraph Table
Creating Cell Objects
Cell objects can be inserted directly under following objects: Row
Remarks
Insert Table object under Cell object to create nested tables. Insert Paragraph object under Cell object to add text into the cell.
Properties
Name |
Type |
Access |
Description |
author |
String |
read-write |
The original author of this Cell. |
authorInitials |
String |
read-write |
The initials of the original author of this Cell. |
backgroundColor |
Color |
read-write |
The background color for this Cell. This property requires OneNote 2013 or above. |
colIndex |
Numeric |
read-only |
The number of Columns before the column this Cell is in. |
creationTime |
DateTime |
read-write |
The date and time this Cell is originally created. |
lastModifiedBy |
String |
read-write |
The person who last modified this Cell. |
lastModifiedByInitials |
String |
read-write |
The initials of the person who last modified this Cell. |
lastModifiedTime |
DateTime |
read-write |
The date and time of the last modification to this Cell. |
objectId |
String |
read-write |
The unique identifier of this Cell. |
paragraphs |
Array<Paragraph> |
read-only |
The list of Paragraphs in this Cell. |
rowIndex |
Numeric |
read-only |
The number of Rows before the row this Cell is in. |
selection |
Selection |
read-write |
Whether this Cell is fully or partially selected or not. |
text |
String |
read-write |
The text of this Cell. |
text_numeric |
Numeric |
read-write |
The text of this Cell interpreted as a numerical value. Useful to apply arithmetic operations on it. |
type |
ObjectType |
read-only |
Type of this object. Always has the value of "Cell". |
|