Skip to main content

Метод Position.insertFootnote

Метод вставляет сноску в текущую позицию.

Вызов​


Position insertFootnote()

Возвращает​

  • позиция содержимого сноски, тип Position.

Пример​


range = document.getRange()
sentence = range.getBegin().getCurrentRange(myOfficeSDK.TextUnit_Sentence)
pos = sentence.getContentEnd().insertFootnote()
pos.insertText("Footnote")