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.3
Syntaxpublic bool IsInline { get; }
Public ReadOnly Property IsInline As Boolean
Get
public:
property bool IsInline {
bool get ();
}
member IsInline : bool with get
Property Value
Type:
Boolean
RemarksHas effect only for top level shapes.
ExamplesShows how to test if a shape in the document is inline or floating.
Document doc = new Document(MyDir + "Rendering.docx");
foreach (Shape shape in doc.GetChildNodes(NodeType.Shape, true).OfType<Shape>())
{
Console.WriteLine(shape.IsInline ? "Shape is inline." : "Shape is floating.");
}
See Also