## Shape.SetLockedProperty method

Legen Sie die gesperrte Eigenschaft fest.

```csharp
public void SetLockedProperty(ShapeLockType type, bool value)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| type | ShapeLockType | Der gesperrte Typ. |
| value | Boolean | Der Wert der Immobilie. |

### Beispiele

```csharp

[C#]
shape.SetLockedProperty(ShapeLockType.AdjustHandles, true);
```

### Siehe auch

* enum [ShapeLockType](../../shapelocktype)
* class [Shape](../../shape)
* namensraum [Aspose.Cells.Drawing](../../shape)
* Montage [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
