title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Shape.LayoutInCell property (Word) |
vbawd10.chm161480849 |
|
|
6a80b806-2a7b-aced-4601-774d8937ee2f |
06/08/2017 |
medium |
Returns a Long that represents whether a shape in a table is displayed inside or outside the table.
expression. LayoutInCell
expression Required. A variable that represents a Shape object.
True indicates that a specified picture is displayed inside the table. False indicates that a specified picture is displayed outside the table.
The LayoutInCell property corresponds to the Layout in table cell option in the Advanced Layout dialog box for picture formatting.
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.
The following example disables the Layout in table cell option for the first shape in the active document. This example assumes that the specified shape is within a table and is not an inline shape.
ActiveDocument.Shapes(1).LayoutInCell = False
[!includeSupport and feedback]