Hi,
my alignment instructions are comletely ignored, any text is left aligned. Here is my small test procedure:
Private Sub asposeTest
Dim v_doc As New Aspose.Word.Document
Dim v_builder As DocumentBuilder = New DocumentBuilder(v_doc)
v_builder.InsertParagraph()
v_builder.Writeln("")
v_builder.ParagraphFormat.Alignment = ParagraphAlignment.Center
v_builder.Writeln("Zentriert")
v_builder.ParagraphFormat.Alignment = ParagraphAlignment.Right
v_builder.Writeln("rechts")
v_builder.InsertParagraph()
v_builder.ParagraphFormat.Alignment = ParagraphAlignment.Left
v_builder.InsertParagraph()
v_builder.Writeln("links")
v_doc.Save("C:\Temp\Aspose\Align.doc")
End Sub
I also tried the demo example DocumentBuilderDemo.vb and it doesn’t work either.
I opened the file with Word 2000, SR1.
Hildegard