How can I create a footer with the Page number on the left hand side and the date/time on the right hand side on the same line. I used the following code but text is on two lines. I tried to using a table with two cells, but how can I get table to autosize to page width for portrait and landscape pages.
Builder.MoveToHeaderFooter(HeaderFooterType.FooterPrimary)
Text = "Page No: "
Builder.Write(Text)
Builder.InsertField("PAGE", "")
Builder.ParagraphFormat.Alignment = ParagraphAlignment.Left
Builder.InsertBreak(BreakType.ParagraphBreak)
Text = "Created on: " & Now.ToString("dd/MM/yyyy hh:mm:ss")
Builder.ParagraphFormat.Alignment = ParagraphAlignment.Right
Builder.Write(Text)