Toggles the Italic property of a TextElement on and off.
TextElement.toggleItalic()
This method toggles the Italic property of a TextElement on and off.
See also Italic property (of TextElement )