Skip to main content

Метод Cell:getRange

Метод возвращает объект DocumentAPI.Range для управления содержимым ячейки.

Пример​


local table = document:getBlocks():getTable(0)
local cell = table:getCell("A1")
local range = cell:getRange()
local pos = range:getBegin()
pos:insertText("Привет, Мир!")