I am using vb in an asp.net application, and when I create a rectangle and add text to it the text is vertically center aligned. In powerpoint you can change the verticle alignment to top. How do I do this with Aspose.Slides?
To justify text horizontally, use Paragraph.Alignment property
e.g
tf.Paragraphs(0).Alignment=TextAlignment.Left
To justify text vertically, use TextFrame.AnchorText property.
e.g
tf.AnchorText=AnchorText.Middle
TextAlignment Enumeration
Default
Left
Center
Right
Justify
AnchorAlignment Enumeration
Top
Middle
Bottom
TopCentered
MiddleCentered
BottomCentered
TopBaseline
BottomBaseline
TopCenteredBaseline
BottomCenteredBaseline