// For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-.NET.git.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

Shape textBox = builder.InsertShape(ShapeType.TextBox, 200, 200);
textBox.TextBox.VerticalAnchor = TextBoxAnchor.Bottom;
            
builder.MoveTo(textBox.FirstParagraph);
builder.Write("Textbox contents");

doc.Save(ArtifactsDir + "WorkingWithShapes.VerticalAnchor.docx");