You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > 2D Editor Library > setFontSize

3.18 setFontSize

D2Editor:setFontSize(size)

Sets the text font size in the editor. The point size is restricted on the TI-Nspire™ family of handhelds. Choose one of these sizes: 7, 9, 10, 11, 12, 16, or 24. Any font size supported by Windows® or Mac OS® can be used in the desktop software.

Returns the text editor object.

Introduced in platform.apiLevel = '2.0'