Метод Shape:getShapeProperties
Метод возвращает свойства фигуры ShapeProperties.
Пример для текстового документа:
shapes = document:getRange():getShapes()
for shape in shapes:enumerate() do
shapeProperties = shape:getShapeProperties()
print(shapeProperties.verticalAlignment)
end
Пример для табличного документа:
table = document:getBlocks():getTable(0)
shapes = table:getShapes()
for shape in shapes:enumerate() do
shapeProperties = shape:getShapeProperties()
print(shapeProperties.verticalAlignment)
end