Метод Shape.setShapeProperties
Метод устанавливает свойства фигуры ShapeProperties.
Пример
Shape shape = document.getBlocks().getShape(0);
if (shape != null)
{
ShapeProperties shapeProperties = shape.getShapeProperties();
shapeProperties.verticalAlignment = VerticalAlignment.Center;
shape.setShapeProperties(shapeProperties);
}