SizeLocked Property
The SizeLocked property returns or sets locking an object's size. Returns a Boolean.
Syntax
object.SizeLocked
object.SizeLocked = SizeLocked
Parameter | Type | Description |
SizeLocked | Boolean | required, default is false (object size is not locked) |
Example
This example shows how to lock a rectangle's size.
Rectangle.SizeLocked = True
Used by: AutoShape Object