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

# IPictureFrameLock

## Overview

`IPictureFrameLock` is an interface in Aspose.Slides FOSS for Java.

Determines which operations are disabled on the parent {@link IPictureFrame}.

This interface declares 23 methods for IPictureFrameLock objects in Java programs.
Available methods include: `hasNoLocks`, `isAdjustHandlesLocked`, `isArrowheadsLocked`, `isAspectRatioLocked`, `isCropLocked`, `isEditPointsLocked`, `isGroupingLocked`, `isPositionLocked`, `isRotationLocked`, `isSelectLocked`, `isShapeTypeLocked`, `isSizeLocked`, and 11 additional methods.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `adjustHandlesLocked`, `arrowheadsLocked`, `aspectRatioLocked`, `cropLocked`, `editPointsLocked`, `groupingLocked`, and 5 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `groupingLocked` | `boolean` | Read/Write | Determines whether adding this shape to a group is forbidden. |
| `selectLocked` | `boolean` | Read/Write | Determines whether selecting this shape is forbidden. |
| `rotationLocked` | `boolean` | Read/Write | Determines whether changing the rotation angle of this shape is forbidden. |
| `aspectRatioLocked` | `boolean` | Read/Write | Determines whether the shape must preserve its aspect ratio on resizing. |
| `positionLocked` | `boolean` | Read/Write | Determines whether moving this shape is forbidden. |
| `sizeLocked` | `boolean` | Read/Write | Determines whether resizing this shape is forbidden. |
| `editPointsLocked` | `boolean` | Read/Write | Determines whether direct changing of the contour of this shape is forbidden. |
| `adjustHandlesLocked` | `boolean` | Read/Write | Determines whether changing adjust values is forbidden. |
| `arrowheadsLocked` | `boolean` | Read/Write | Determines whether changing arrowheads is forbidden. |
| `shapeTypeLocked` | `boolean` | Read/Write | Determines whether changing the shape type is forbidden. |
| `cropLocked` | `boolean` | Read/Write | Determines whether image cropping is forbidden. |

## Methods

| Signature | Description |
|-----------|-------------|
| `isGroupingLocked()` → `boolean` | Determines whether adding this shape to a group is forbidden. |
| `setGroupingLocked(value: boolean)` | Sets whether adding this shape to a group is forbidden. |
| `isSelectLocked()` → `boolean` | Determines whether selecting this shape is forbidden. |
| `setSelectLocked(value: boolean)` | Sets whether selecting this shape is forbidden. |
| `isRotationLocked()` → `boolean` | Determines whether changing the rotation angle of this shape is forbidden. |
| `setRotationLocked(value: boolean)` | Sets whether changing the rotation angle of this shape is forbidden. |
| `isAspectRatioLocked()` → `boolean` | Determines whether the shape must preserve its aspect ratio on resizing. |
| `setAspectRatioLocked(value: boolean)` | Sets whether the shape must preserve its aspect ratio on resizing. |
| `isPositionLocked()` → `boolean` | Determines whether moving this shape is forbidden. |
| `setPositionLocked(value: boolean)` | Sets whether moving this shape is forbidden. |
| `isSizeLocked()` → `boolean` | Determines whether resizing this shape is forbidden. |
| `setSizeLocked(value: boolean)` | Sets whether resizing this shape is forbidden. |
| `isEditPointsLocked()` → `boolean` | Determines whether direct changing of the contour of this shape is forbidden. |
| `setEditPointsLocked(value: boolean)` | Sets whether direct changing of the contour of this shape is forbidden. |
| `isAdjustHandlesLocked()` → `boolean` | Determines whether changing adjust values is forbidden. |
| `setAdjustHandlesLocked(value: boolean)` | Sets whether changing adjust values is forbidden. |
| `isArrowheadsLocked()` → `boolean` | Determines whether changing arrowheads is forbidden. |
| `setArrowheadsLocked(value: boolean)` | Sets whether changing arrowheads is forbidden. |
| `isShapeTypeLocked()` → `boolean` | Determines whether changing the shape type is forbidden. |
| `setShapeTypeLocked(value: boolean)` | Sets whether changing the shape type is forbidden. |
| `isCropLocked()` → `boolean` | Determines whether image cropping is forbidden. |
| `setCropLocked(value: boolean)` | Sets whether image cropping is forbidden. |
| `hasNoLocks()` → `boolean` | Returns {@code true} if all lock attributes are absent or disabled. |

## See Also

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