Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ShapePosition Class / LayoutInCell Property

In This Topic
    LayoutInCell Property
    In This Topic
    Gets or sets a value indicating whether a shape is positioned relative to a cell.

    If WrapFormat.Type is WrapType.Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.

    When this property is true, the shape is positioned within the existing table cell, causing the cell to be resized as needed. This means that all positioning is relative to the cell and not the line on which the table appears.

    When this property is false, the shape is positioned as specified, but the table is resized and/or relocated within the document as needed to accommodate the object. This means that all positioning shall be relative to the line on which the table appears and not the cell in which the anchor is present.

    Syntax
    'Declaration
     
    Public Property LayoutInCell As System.Boolean
    public System.bool LayoutInCell {get; set;}
    See Also