NoteTag

Overview

NoteTag is a class in Aspose.Note for Python.

Represents a tag attached to a OneNote node, providing visual status indicators and labels.

NoteTag represents a tag attached to a content node such as RichText, Image, or Table. Tags carry visual metadata: an icon shape, a label, a color, and a TagStatus value that indicates whether the task is active, completed, or deferred. Access tags via node.Tags (a list of NoteTag objects). Tags are often used to build task lists from OneNote content in automated workflows.

Properties

NameTypeAccessDescription
Labelstr | NoneReadThe Label for this NoteTag.
Iconint | NoneReadThe Icon for this NoteTag.
StatusTagStatusReadThe Status for this NoteTag.
Highlightint | NoneReadThe Highlight for this NoteTag.
CreationTimedatetime | NoneReadThe CreationTime for this NoteTag.
CompletedTimedatetime | NoneReadThe CompletedTime for this NoteTag.
FontColorint | NoneReadThe FontColor for this NoteTag.

Methods

SignatureDescription
__init__(construction_token: object | None, Label: str | None, Icon: int | None, Status: TagStatus | int | str | None, Highlight: int | None, CreationTime: datetime | int | None, CompletedTime: datetime | int | None, FontColor: int | None)Initializes a new NoteTag with the specified display and status properties.
CreateYellowStar(label: str | None)NoteTagCreates a NoteTag with a yellow star icon and optional label.
CreateQuestionMark(label: str | None)NoteTagCreates a NoteTag with a question mark icon and optional label.
CreateMusicalNote(label: str | None)NoteTagCreates a NoteTag with a musical note icon and optional label.