Note that there are some explanatory texts on larger screens.

plurals
  1. POWinnovative Html to pdf Converter page numbers are not right on appended document
    primarykey
    data
    text
    <p>I have a problem using Winnovative Html to Pdf Converter v8.0.0.0, my pdf page number are not correct. Here is what I 've done. I set a footer on my converter</p> <pre><code>pdfConverter.PdfFooterOptions.AddTextArea(new TextArea(500, 0, 50, "&amp;p; / &amp;P;", new Font(new FontFamily("Arial"), 8))); </code></pre> <p>then I create a document from a url</p> <pre><code>pdfDocument = pdfConverter.GetPdfDocumentObjectFromUrl(FirstUrl); </code></pre> <p>then I append a document from a url</p> <pre><code>pdfDocument.AppendDocument(pdfConverter.GetPdfDocumentObjectFromUrl(SecondUrl)); </code></pre> <p>all the pages resulting from the first url contain a correct page number, but page number on the appended document does not seems to be recalculate</p> <p>example : FirstUrl result in 3 pages and second in 2 pages. Page Numbers are</p> <pre><code>1/5 2/5 3/5 1/2 2/2 </code></pre> <p>I want them to be like :</p> <pre><code>1/5 2/5 3/5 4/5 5/5 </code></pre> <p>I also try not to add the footer to the converter but to the pdfDocument after the conversion like this:</p> <pre><code>PdfFont pdfFont = pdfDocument.Fonts.Add(new Font(new FontFamily("Arial"), 8)); string strPageNum = "&amp;p; / &amp;P;"; TextElement footerPageNumber = new TextElement(500, 0, 50, strPageNum, pdfFont); pdfDocument.FooterTemplate.AddElement(footerPageNumber); </code></pre> <p>But in this case. Only pages from the first Url get page number on them and are nowhere to be seen on page from appended document.</p> <p>Thanks for your help.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload