ResizeBehaviour Property

A Byte type property. Determines how the shape behaves when its parent group is being resized.

Applies to: Shape object

Syntax

[[Let] rbehRet =] object.ResizeBehaviour

[Let] object.ResizeBehaviour = rbehSet

The ResizeBehaviour property syntax has these parts:

Part Description
object Required. An expression that returns a Shape object.
rbehRet Optional. A Byte type variable.
rbehSet Required. An expression that returns a Byte value.

Remarks

The ResizeBehaviour property can take the following values:

Constant Value Description
cdRBScaleWithGroup 0

The shape moves and changes its dimensions together with its parent group.

cdRBRepositionOnly 1 The shape moves together with the parent group, but its size doesn't change.
cdRBUseGroupSettings 2 The shape behaves according to the Resize Behavior settings of the parent group.

The ResizeBehaviour property is also a table parameter of the shape, that is, its value can be described by a formula. To work with ResizeBehaviour as a table parameter, use the CDPT_RESIZEBEHAVIOUR constant tag.

 

See Also

NonPrinting property, ShowAlignBox property, ShowControlHandles property, ShowShapeHandles property, ShowText property