the id of the frame that we want to know the constraints from
the constraints configuration for the frame
This method will set the allowed character styles constraint for a specified text frame
the id of the frame that needs to get updated
the managed constraint: when allowed is true, only the provided ids may be used; when false, the constraint is turned off (stored value is kept for reactivation)
This method will set the allowed colors constraint for a specified text frame
the id of the frame that needs to get updated
the managed constraint: when allowed is true, only the provided ids may be used; when false, the constraint is turned off (stored value is kept for reactivation)
This method will set the allowed font sizes constraint for a specified text frame
the id of the frame that needs to get updated
the managed constraint: when allowed is true, restricts font sizes to min and max (inclusive); when false, the constraint is turned off (stored value is kept for reactivation)
This method will set the allowed paragraph styles constraint for a specified text frame
the id of the frame that needs to get updated
the managed constraint: when allowed is true, only the provided ids may be used; when false, the constraint is turned off (stored value is kept for reactivation)
This method will set the crop constraint for a specified image frame
the id of the frame that needs to get updated
whether crop is allowed or not
This method will set the horizontal movement constraint for a specified frame
the id of the frame that needs to get updated
whether horizontal movement is allowed or not
This method will set the resize constraint for a specified frame
the id of the frame that needs to get updated
whether resize is allowed or not
OptionalproportionLocked: booleanwhether the frame's proportions are locked or not
This method will set the rotation constraint for a specified frame
the id of the frame that needs to get updated
whether rotation is allowed or not
This method will set the selectable constraint for a specified frame
the id of the frame that needs to get updated
whether the frame is selectable or not
This method will set the text editing constraint for a specified text frame
the id of the frame that needs to get updated
whether text editing is allowed or not
This method will set the vertical movement constraint for a specified frame
the id of the frame that needs to get updated
whether vertical movement is allowed or not
This method will retrieve all constraints for a specified frame