ShapeBaseIsInline Property
A quick way to determine if this shape is positioned inline with text.

Namespace: Aspose.Words.Drawing
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.12
Syntax
public bool IsInline { get; }

Property Value

Type: Boolean
Remarks

Has effect only for top level shapes.

Examples
Shows how to test if a shape in the document is inline or floating.
Document doc = new Document(MyDir + "Shape.DeleteAllShapes.doc");

foreach (Shape shape in doc.GetChildNodes(NodeType.Shape, true).OfType<Shape>())
{
    if (shape.IsInline)
        Console.WriteLine("Shape is inline.");
    else
        Console.WriteLine("Shape is floating.");
}
See Also