ShapeRange.LayoutInCell property (Word)

Returns a Long that represents whether a shape in a table is displayed inside the table or outside the table. .

Syntax

expression. LayoutInCell

expression Required. A variable that represents a ShapeRange object.

Remarks

The LayoutInCell property corresponds to the Layout in table cell option in the Advanced Layout dialog box for picture formatting. True indicates that a specified picture is displayed within the table. False indicates that a specified picture is displayed outside the table.

Note

Setting the LayoutInCell property will take effect only if the Type property of the WrapFormat object is set to something other than wdWrapTypeInline or wdWrapTypeNone.

See also

ShapeRange Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.