Rank: Newbie Groups: Member
Joined: 4/23/2013 Posts: 4
|
Hello, I want to put multiline footer in pdf document, but footer is always fixed size. I make HtmlToPdfOptions object in which I write the html code of footer, but it is too large and don't show everything in the pdf file. Please, help!
HtmlToPdfOptions options = new HtmlToPdfOptions(); options.BaseUrl = HttpContext.Current.Request.Url.AbsoluteUri.ToString(); options.PageSize = EO.Pdf.PdfPageSizes.A4; options.FooterHtmlFormat = "<div>....<br />...</div>"; HtmlToPdf.ConvertHtml(strHTMLContent.ToString(), HttpContext.Current.Response.OutputStream, options);
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, Your code looks fine. You may want to adjust this property to see if you can get them displayed: http://www.essentialobjects.com/doc/4/eo.pdf.htmltopdfoptions.footerhtmlposition.aspxThanks!
|
Rank: Newbie Groups: Member
Joined: 4/23/2013 Posts: 4
|
I tried to write: options.FooterHtmlPosition = 20; for example, but the footer disappear, what I should write here, because I couldn't find a example.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
The position is in inches.
Thanks!
|