Метод Shape::getShapeProperties
Метод возвращает свойства фигуры ShapeProperties.
Пример
boost::optional<Shape> shapeOpt = document.getBlocks().getShape(0);
if (shapeOpt.has_value())
{
ShapeProperties shapeProperties = shapeOpt.get().getShapeProperties();
std::printf("%d", shapeProperties.verticalAlignment);
}