Onetastic Macro Documentation >
>
Tag Tag Object
Description
Represents a tag in a OneNote page.
Hierarchical Structure
Tag objects can be found under following objects: Paragraph Image EmbeddedFile
Creating Tag Objects
Tag objects can be inserted directly under following objects: Paragraph Image EmbeddedFile
Remarks
Tags can appear on Images and EmbeddedFiles if they are directly under a Page and on all Paragraphs. For Images and EmbeddedFiles that are under Outlines, check for the parent Paragraph with GetParentOfType function.
Tag Symbols
Following symbols can be used for tags
To change a Tag's symbol, set its symbol property to the number next to the symbol image above.
Properties
Name |
Type |
Access |
Description |
completed |
Bool |
read-write |
Whether this Tag is completed (checked) or not. |
completionDate |
DateTime |
read-write |
The date and time of completion of this Tag. |
creationDate |
DateTime |
read-write |
The date and time of creation of this Tag. |
disabled |
Bool |
read-write |
Whether this Tag is disabled (dimmed) or not. |
fontColor |
Color |
read-write |
The font color for this Tag for tags that use formatting instead of a symbol. |
highlightColor |
Color |
read-write |
The highlight color for this Tag for tags that use formatting instead of a symbol. |
name |
String |
read-write |
The name of this Tag. |
symbol |
Numeric |
read-write |
The symbol for this Tag. See remarks for the symbols. |
type |
ObjectType |
read-only |
Type of this object. Always has the value of "Tag". |
|