PictureFrameLock
Overview
PictureFrameLock is a class in Aspose.Slides FOSS for C++.
Determines which operations are disabled on the parent PictureFrame. Supports two modes: - In-memory (default): lock values stored as plain booleans. - XML-backed: after init_internal(), values are read from / written to the backing a:picLocks XML element.
Methods
| Signature | Description |
|---|---|
init_internal(pic_locks_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart) | Determines which operations are disabled on the parent PictureFrame. Supports two modes: - In-memory (default): lock values stored as plain booleans. |
grouping_locked() → bool | Gets whether grouping is locked. |
set_grouping_locked(value: bool) | Sets whether grouping is locked. |
select_locked() → bool | Gets whether selection is locked. |
set_select_locked(value: bool) | Sets whether selection is locked. |
rotation_locked() → bool | Gets whether rotation is locked. |
set_rotation_locked(value: bool) | Sets whether rotation is locked. |
aspect_ratio_locked() → bool | Gets whether aspect ratio is locked. |
set_aspect_ratio_locked(value: bool) | Sets whether aspect ratio is locked. |
position_locked() → bool | Gets whether position is locked. |
set_position_locked(value: bool) | Sets whether position is locked. |
size_locked() → bool | Gets whether size is locked. |
set_size_locked(value: bool) | Sets whether size is locked. |
edit_points_locked() → bool | Gets whether edit points is locked. |
set_edit_points_locked(value: bool) | Sets whether edit points is locked. |
adjust_handles_locked() → bool | Gets whether adjust handles is locked. |
set_adjust_handles_locked(value: bool) | Sets whether adjust handles is locked. |
arrowheads_locked() → bool | Gets whether arrowheads is locked. |
set_arrowheads_locked(value: bool) | Sets whether arrowheads is locked. |
shape_type_locked() → bool | Gets whether shape type is locked. |
set_shape_type_locked(value: bool) | Sets whether shape type is locked. |
crop_locked() → bool | Gets whether crop is locked. |
set_crop_locked(value: bool) | Sets whether crop is locked. |
no_locks() → bool | Returns true if all locks are disabled. |