Hi everyone,
since one week i am using migradoc and so far it seems very cool,
but since 2 days i am trying to solve a problem with my footer. The header works fine, and i do not understand why the footer does not.
I want to Display two paragraphs in the footer section of the document, but however the paragraphs do not appear one below the other, they appear on top of each other?
I do not understand why this happens because the same code for the header works fine.
Here is my code:
Code:
BaseDocument = new Document();
BaseSection = BaseDocument.AddSection();
Paragraph p = BaseSection.Footers.Primary.AddParagraph();
p.Format.Borders.Width = new Unit(1, UnitType.Point);
p.Format.Alignment = ParagraphAlignment.Center;
p.AddText("FOOTER");
Paragraph p1 = BaseSection.Footers.Primary.AddParagraph();
p1.Format.Borders.Width = new Unit(1, UnitType.Point);
p1.Format.Alignment = ParagraphAlignment.Center;
p1.AddText(" FOOTER2");
I hope anyone of you can help me.
Best Regards
Manu