Partager via


ShapeRange.LayoutInCell Property

Returns an Integer that represents whether a shape in a table is displayed inside the table or outside of the table. True indicates that a specified picture is displayed within the table. False indicates that a specified picture is displayed 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 ShapeRange
Dim value As Integer

value = instance.LayoutInCell

instance.LayoutInCell = value
int LayoutInCell { get; set; }

Property Value

Type: System.Int32

Remarks

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 LayoutInCell property corresponds to the Layout in table cell option in the Advanced Layout dialog box for picture formatting.

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.Word Namespace