PictureFrameLock

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

SignatureDescription
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()boolGets whether grouping is locked.
set_grouping_locked(value: bool)Sets whether grouping is locked.
select_locked()boolGets whether selection is locked.
set_select_locked(value: bool)Sets whether selection is locked.
rotation_locked()boolGets whether rotation is locked.
set_rotation_locked(value: bool)Sets whether rotation is locked.
aspect_ratio_locked()boolGets whether aspect ratio is locked.
set_aspect_ratio_locked(value: bool)Sets whether aspect ratio is locked.
position_locked()boolGets whether position is locked.
set_position_locked(value: bool)Sets whether position is locked.
size_locked()boolGets whether size is locked.
set_size_locked(value: bool)Sets whether size is locked.
edit_points_locked()boolGets whether edit points is locked.
set_edit_points_locked(value: bool)Sets whether edit points is locked.
adjust_handles_locked()boolGets whether adjust handles is locked.
set_adjust_handles_locked(value: bool)Sets whether adjust handles is locked.
arrowheads_locked()boolGets whether arrowheads is locked.
set_arrowheads_locked(value: bool)Sets whether arrowheads is locked.
shape_type_locked()boolGets whether shape type is locked.
set_shape_type_locked(value: bool)Sets whether shape type is locked.
crop_locked()boolGets whether crop is locked.
set_crop_locked(value: bool)Sets whether crop is locked.
no_locks()boolReturns true if all locks are disabled.

See Also