Метод VerticalTextAnchoredPosition:__eq
Метод используется для определения эквивалентности двух положений объекта по вертикали.
Пример
local pos1 = DocumentAPI.TextAnchoredPosition()
pos1.vertical = DocumentAPI.VerticalTextAnchoredPosition(DocumentAPI.VerticalRelativeTo_Page)
pos1.vertical.offset = 1
local pos2 = DocumentAPI.TextAnchoredPosition()
pos2.vertical = DocumentAPI.VerticalTextAnchoredPosition(DocumentAPI.VerticalRelativeTo_Page)
pos2.vertical.offset = 1
print(pos1.vertical:__eq(pos2.vertical))