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

3.11 resize

D2Editor:resize(width, height)

Changes the width and height of the text editor. Both width and height must be > 0 and <
32768.

Returns the text editor object.

Introduced in platform.apiLevel = '1.0'