Skip to main content

Поле ShapeProperties.verticalAlignment

Поле предназначено для установки типа вертикального выравнивания VerticalAlignment.

Пример​


Shape shape = document.getBlocks().getShape(0);
if (shape != null)
{
ShapeProperties shapeProperties = shape.getShapeProperties();
shapeProperties.verticalAlignment = VerticalAlignment.Center;
shape.setShapeProperties(shapeProperties);
}