Note¶
- class Note(impl)¶
- property api: Any¶
Returns the native object (
pywin32orappscriptobj) of the engine being used.在 0.24.2 版本加入.
- delete()¶
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 版本加入.