You misunderstood my comment... JavaScript is embedded IN the PDF, and that code could be doing the "open to page number".
I recommend that you read the PDF Reference - focusing on Destinations and Actions. Leonard On May 16, 2007, at 7:10 AM, Nishimura Tetsuo wrote: > Hi, > > Thanks for the reply. > Could you show me how to write JavaScript code to get "open to page > number" > using PdfReader in iTextSharp, if possible? > I'm writing a program to read out general information of PDFs using > PdfReader since last week. > > Best regards, > Nish > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Leonard > Rosenthol > Sent: Wednesday, May 16, 2007 10:21 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Getting "Open to page number" value > inPdfReader > > > Normally this is handled by a document level action - usually a > destination, but it could be a JavaScript action. > > Have you opened up the PDF(s) in question to see what's inside? > > Leonard > > On May 16, 2007, at 12:30 AM, Nishimura Tetsuo wrote: > >> Hi, >> >> I want to read "open to page number" value of PDF files using >> PdfReader. >> I tried Viewerpreferences but it does't look to have the "open to >> page >> number" value. >> >> Could anyone tell me where should I look to? >> >> Nish >> >> >> --------------------------------------------------------------------- >> - >> --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> iText-questions mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> Buy the iText book: http://itext.ugent.be/itext-in-action/ >> > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
