' For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
Using doc As WordsDocument = Document.Load(Of WordsDocument)("D:\test.docx")
For Each section As WordsSection In doc.Sections
For Each shape As WordsShape In section.Shapes
If shape.HeaderFooter IsNot Nothing Then
Console.WriteLine("In header/footer")
End If
Console.WriteLine(shape.ShapeType)
Console.WriteLine(shape.Width)
Console.WriteLine(shape.Height)
Console.WriteLine(shape.IsWordArt)
Console.WriteLine(shape.RotateAngle)
Console.WriteLine(shape.AlternativeText)
Console.WriteLine(shape.Name)
Console.WriteLine(shape.X)
Console.WriteLine(shape.Y)
Console.WriteLine(shape.Text)
If shape.Image IsNot Nothing Then
Console.WriteLine(shape.Image.Width)
Console.WriteLine(shape.Image.Height)
Console.WriteLine(shape.Image.GetBytes().Length)
End If
Console.WriteLine(shape.HorizontalAlignment)
Console.WriteLine(shape.VerticalAlignment)
Console.WriteLine(shape.RelativeHorizontalPosition)
Console.WriteLine(shape.RelativeVerticalPosition)
Next
Next
End Using