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

3.2 createChemBox

D2Editor:createChemBox()

Inserts a Chem Box in the current cursor position of the editor. Returns the text editor object.

Introduced in platform.apiLevel = '2.0'