Whenever we open up a ceTe generated PDF into IE, it opens up on the second page. What can we do to open it up on the first page only?
PDF opens up in second page
Re: PDF opens up in second page
Support · Oct 23, 2009Hello,
There is nothing in our product causing this behavior. The reader will open the PDF in that way. It may not be consistent also. However you can set the initial page by using the InitialPage property of the document object.
Thanks,
ceTe Software Support Team.
Re: PDF opens up in second page
Forum member · Oct 23, 2009funny thing is when I open the PDF directly into Reader it opens on first page. But when I open it via IE then it opens 2nd page.
-Piyush
Re: PDF opens up in second page
Forum member · Oct 23, 2009We DO set that property. It doesn't help. interestingly enough I also tried setting the PageZoom to fit width and it doesn't obey that either, it displays it as FitPage. Sometimes it opens on the first page and sometimes it opens on the second page with no other actions taken and there is no detectable pattern in which page it opens on. Is there something else we should be doing that we are not?
Pseudocode:
PdfDocument doc = new PdfDocument(strInputPath);
mdocument = new MergeDocument(doc);
// bunch of stuff to add a label to each page ...
foreach (Page page in mdocument.Pages)
{
...
}
mdocument.InitialPage = 1;
mdocument.InitialPageZoom = PageZoom.FitWidth;
mdocument.DrawToWeb(false);
Re: PDF opens up in second page
Support · Oct 23, 2009Hello,
Our API is setting the InitialPage within the PDF document to 1. However, it is the Acrobat plugin within IE that is opening the PDF on page 2. We do not have any control on this.
You can try opening the same PDF in a browser on a differnt PC and you will notice it will likely open the PDF on Page 1.
Thanks,
ceTe Software Support Team
Re: PDF opens up in second page
Forum member · Aug 21, 2010Hi,
I am using DynamicPDF 5.1.2 and I was facing issue of showing PDF in viewer from page#2. I tried lot but didnt get anything.
I set InitialPageZoom = PageZoom.Retain. This property maintain 100% zoom level of PDF and resolve my issue.
One thing I observe that PDF displays from page#2 is occurs only when we merge 2 or more PDFs. I think DynamicPDF development team may resolve this issue.
Any way, InitialPageZoom = PageZoom.Retain is a workaround for this.
Cheers!!!
Re: PDF opens up in second page
Support · Aug 23, 2010Hello,
We have this issue fixed in our latest version v6 and our developers are working on this to fix it in v5. We will have a new build in a couple of days for v5. Please send an email to our [^a|mailto:support@cete.com|Support Team^] so that we can give you a link to download the latest build of v5 once we have it fixed.
You can also try our latest v6 downloading from our website
.
Thanks,
ceTe Software Support Team.
Re: PDF opens up in second page
Support · Aug 24, 2010Hello,
We have this issue fixed in v5 also. Can you please send an email to our [^a|mailto:support@cete.com|Support Team^] so that they can give you the latest v5 dlls with fix?
Thanks,
ceTe Software Support Team.