Поле ShapeProperties.shapeTextLayout
Поле предназначено для установки свойств текста внутри фигуры, тип - ShapeTextLayout.
Пример
Shape shape = document.getBlocks().getShape(0);
if (shape != null)
{
ShapeProperties shapeProperties = shape.getShapeProperties();
shapeProperties.shapeTextLayout = ShapeTextLayout.FitTextToShape;
shape.setShapeProperties(shapeProperties);
}