HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › How to add page footer in asp and c#.net › Re: Re: How to add page footer in asp and c#.net
June 1, 2010 at 04:15
#27963
[language=java:1waamgcy]PD4PageMark footer = new PD4PageMark();
footer.AreaHeight = 30;
footer.FontSize = 12;
footer.Color = Color.Red;
footer.setPageNumberTemplate(“Page: $[page] of $[total]”);
footer.setTitleTemplate(“Footer – $[title]”);
footer.TitleAlignment = PD4PageMark.RIGHT_ALIGN;
footer.PageNumberAlignment = PD4PageMark.LEFT_ALIGN;
footer.PageBackgroundColor = Color.WHITE;
pd4ml.PageFooter = footer;[/language:1waamgcy]