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: 20.1
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>())
{
    Console.WriteLine(shape.IsInline ? "Shape is inline." : "Shape is floating.");
}
See Also