---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/GroupShapeLock
---

# GroupShapeLock

## Overview

`GroupShapeLock` is a class in Aspose.Slides FOSS for Python.
Inherits from: `BaseShapeLock`, `IGroupShapeLock`.

Determines which operations are disabled on the parent GroupShape.

This class provides 10 methods for working with GroupShapeLock objects in Python programs.
Available methods include: `__init__`, `as_i_base_shape_lock`, `aspect_ratio_locked`, `grouping_locked`, `no_locks`, `position_locked`, `rotation_locked`, `select_locked`, `size_locked`, `ungrouping_locked`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `as_i_base_shape_lock`, `aspect_ratio_locked`, `grouping_locked`, `no_locks`, `position_locked`, `rotation_locked`, and 3 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `grouping_locked` | `bool` | Read/Write | Determines whether adding this shape to a group is forbidden. |
| `ungrouping_locked` | `bool` | Read/Write | Determines whether splitting this groupshape is forbidden. |
| `select_locked` | `bool` | Read/Write | Determines whether selecting this shape is forbidden. |
| `rotation_locked` | `bool` | Read/Write | Determines whether changing rotation angle of this shape is forbidden. |
| `aspect_ratio_locked` | `bool` | Read/Write | Determines whether shape have to preserve aspect ratio on resizing. |
| `position_locked` | `bool` | Read/Write | Determines whether moving this shape is forbidden. |
| `size_locked` | `bool` | Read/Write | Determines whether resizing this shape is forbidden. |
| `no_locks` | `bool` | Read | Return true if all lock-flags are disabled. |
| `as_i_base_shape_lock` | `IBaseShapeLock` | Read | Allows to get base IBaseShapeLock interface. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` |  |
| `grouping_locked()` → `bool` | Determines whether adding this shape to a group is forbidden. |
| `ungrouping_locked()` → `bool` | Determines whether splitting this groupshape is forbidden. |
| `select_locked()` → `bool` | Determines whether selecting this shape is forbidden. |
| `rotation_locked()` → `bool` | Determines whether changing rotation angle of this shape is forbidden. |
| `aspect_ratio_locked()` → `bool` | Determines whether shape have to preserve aspect ratio on resizing. |
| `position_locked()` → `bool` | Determines whether moving this shape is forbidden. |
| `size_locked()` → `bool` | Determines whether resizing this shape is forbidden. |
| `as_i_base_shape_lock()` → `IBaseShapeLock` | Allows to get base IBaseShapeLock interface. |
| `no_locks()` → `bool` | Return true if all lock-flags are disabled. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)