Note

class Note(impl: Any)
property api: Any

返回正在使用的引擎的原生对象( pywin32appscript 对象)。

在 0.24.2 版本加入.

delete() None

Delete the note.

在 0.24.2 版本加入.

property text: str

Gets or sets the text of a note. Keep in mind that the note must already exist!

示例

>>> sheet = xw.Book(...).sheets[0]
>>> sheet['A1'].note.text = 'mynote'
>>> sheet['A1'].note.text
>>> 'mynote'

在 0.24.2 版本加入.