Characters
- class Characters(impl)
The characters object can be accessed as an attribute of the range or shape object.
mysheet['A1'].charactersmysheet.shapes[0].characters
备注
On macOS,
charactersare currently not supported due to bugs/lack of support in AppleScript.在 0.23.0 版本加入.
- property api: Any
Returns the native object (
pywin32orappscriptobj) of the engine being used.在 0.23.0 版本加入.
- property font: Font
Returns or sets the text property of a
charactersobject.>>> sheet['A1'].characters[1:3].font.bold = True >>> sheet['A1'].characters[1:3].font.bold True
在 0.23.0 版本加入.