Hi,
I am trying to position the footer to the left of my PDF but was not able to do so. I tried using the margin and DistanceFromEdge property but still didn't work. Please help.
Below is my code:
//add a footer object
Aspose.Pdf.TextInfo FooterInfo = new Aspose.Pdf.TextInfo();
FooterInfo.Alignment = AlignmentType.Left;
FooterInfo.FontSize = 9;
HeaderFooter header = new HeaderFooter();
header.IsFirstPageOnly = false;
header.TextInfo = FooterInfo;
header.Margin.Left = 5;
header.IsLastPageOnly = false;
header.DistanceFromEdge = 2;
secLogo.OddFooter = secLogo.EvenFooter = header;
string strFooter = "This is my footer text";
Text txtFooter = new Aspose.Pdf.Text (header,strFooter);
header.Paragraphs.Add(txtFooter);