Shape.LayoutInCell Property
Returns an Integer that represents whether a shape in a table is displayed inside the table or outside of the table.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property LayoutInCell As Integer
Get
Set
'Usage
Dim instance As Shape
Dim value As Integer
value = instance.LayoutInCell
instance.LayoutInCell = value
int LayoutInCell { get; set; }
Property Value
Type: System.Int32
Remarks
This property returns True to indicate that a specified picture is displayed within the table, and False to indicate that a specified picture is displayed outside of the table.
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 LayoutInCell property corresponds to the Layout in table cell option in the Advanced Layout dialog box for picture formatting.