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

# PictureFrameLock

## Overview

`PictureFrameLock` is a class in Aspose.Slides FOSS for Java.
Inherits from: `BaseShapeLock`, `IPictureFrameLock`.

Represents the locks for a {@link PictureFrame}.

This class declares 26 methods for PictureFrameLock objects in Java programs.
Available methods include: `PictureFrameLock`, `hasNoLocks`, `initInternal`, `isAdjustHandlesLocked`, `isArrowheadsLocked`, `isAspectRatioLocked`, `isCropLocked`, `isEditPointsLocked`, `isGroupingLocked`, `isPositionLocked`, `isRotationLocked`, `isSelectLocked`, and 14 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 | Gets or sets the grouping locked. |
| `selectLocked` | `boolean` | Read/Write | Gets or sets the select locked. |
| `rotationLocked` | `boolean` | Read/Write | Gets or sets the rotation locked. |
| `aspectRatioLocked` | `boolean` | Read/Write | Gets or sets the aspect ratio locked. |
| `positionLocked` | `boolean` | Read/Write | Gets or sets the position locked. |
| `sizeLocked` | `boolean` | Read/Write | Gets or sets the size locked. |
| `editPointsLocked` | `boolean` | Read/Write | Gets or sets the edit points locked. |
| `adjustHandlesLocked` | `boolean` | Read/Write | Gets or sets the adjust handles locked. |
| `arrowheadsLocked` | `boolean` | Read/Write | Gets or sets the arrowheads locked. |
| `shapeTypeLocked` | `boolean` | Read/Write | Gets or sets the shape type locked. |
| `cropLocked` | `boolean` | Read/Write | Gets or sets the crop locked. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PictureFrameLock()` | Creates a new PictureFrameLock. |
| `initInternal(picLocksElement: Element, saveCallback: Runnable)` | Initializes internal state from the backing XML element. |
| `isGroupingLocked()` → `boolean` | Returns true if grouping locked is set. |
| `setGroupingLocked(value: boolean)` | Sets the grouping locked value. |
| `isSelectLocked()` → `boolean` | Returns true if select locked is set. |
| `setSelectLocked(value: boolean)` | Sets the select locked value. |
| `isRotationLocked()` → `boolean` | Returns true if rotation locked is set. |
| `setRotationLocked(value: boolean)` | Sets the rotation locked value. |
| `isAspectRatioLocked()` → `boolean` | Returns true if aspect ratio locked is set. |
| `setAspectRatioLocked(value: boolean)` | Sets the aspect ratio locked value. |
| `isPositionLocked()` → `boolean` | Returns true if position locked is set. |
| `setPositionLocked(value: boolean)` | Sets the position locked value. |
| `isSizeLocked()` → `boolean` | Returns true if size locked is set. |
| `setSizeLocked(value: boolean)` | Sets the size locked value. |
| `isEditPointsLocked()` → `boolean` | Returns true if edit points locked is set. |
| `setEditPointsLocked(value: boolean)` | Sets the edit points locked value. |
| `isAdjustHandlesLocked()` → `boolean` | Returns true if adjust handles locked is set. |
| `setAdjustHandlesLocked(value: boolean)` | Sets the adjust handles locked value. |
| `isArrowheadsLocked()` → `boolean` | Returns true if arrowheads locked is set. |
| `setArrowheadsLocked(value: boolean)` | Sets the arrowheads locked value. |
| `isShapeTypeLocked()` → `boolean` | Returns true if shape type locked is set. |
| `setShapeTypeLocked(value: boolean)` | Sets the shape type locked value. |
| `isCropLocked()` → `boolean` | Returns true if crop locked is set. |
| `setCropLocked(value: boolean)` | Sets the crop locked value. |
| `noLocks()` → `boolean` | Returns true if no lock flags are set |
| `hasNoLocks()` → `boolean` | Returns true if no locks is present. |

## See Also

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