Opening big PDF file

Discussions about PDF management.
Post Reply
Chess
Posts: 22
Joined: Mon Apr 23, 2012 6:02 pm

Opening big PDF file

Post by Chess » Thu Nov 08, 2012 10:58 am

Hello,

I try to count bookmark in PDF File using these simple function :

Code: Select all

private void traiteFichier(string fic)
{
     GdPicturePDF nPdf = new GdPicturePDF();
     GdPictureStatus st = nPdf.LoadFromFile(fic, false);  // I also try with true
            if (st != GdPictureStatus.OK)
            {
                MessageBox.Show("Erreur " + st.ToString());
                return;
            }
            int rt = nPdf.GetBookMarkCount();

            if (rt < 0)
            {
                GdPictureStatus sta = nPdf.GetStat();
                MessageBox.Show("Erreur " + sta.ToString());
            }
            button1.Text = rt.ToString();
            nPdf.CloseDocument();
        }
This function is use in a very small form (a single winform, a button, and an FileOpenDialog).

I have 2 PDF files, the first is at 1,2 Gb (1243028 ko) and the second at 3,3 Gb (3337988 ko). These PDF are not damaged and I can open it with Adobe Acrobat Pro 9.

I build my test application in 32bits and 64bits. In 32 bits, I can't open both file. In 64 bits mode, the "small" one (1,2 Gb) work fine, but with the big one 3.2 Gb, I get error "CanNotOpenFile". I try to launch programme outside Ms Visual Studio : same result.

My computer :
Dell Vostro i7
8 Gb Mem
Win 7 Pro 64 bits
Ms Visual Studio 2010

Note : I use the lastest GdPicture .net ToolKit (9.3.3 5th nov).

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Opening big PDF file

Post by Loïc » Thu Nov 08, 2012 1:14 pm

Hello,

Please contact our tech team from https://www.gdpicture.com/support/getting-support-from-our-team in order to obtain an ftp access to upload your documents.

Kind regards,

Loïc

Chess
Posts: 22
Joined: Mon Apr 23, 2012 6:02 pm

Re: Opening big PDF file

Post by Chess » Tue Nov 13, 2012 2:09 pm

Hello Loïc,

I try today the lastest release (9.3.5) and it work correctly with both pdf file (1,2 gb / 3,3 gb) in x86, x64 or AnyCpu.

Thanks very much for the quick fix.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Opening big PDF file

Post by Loïc » Tue Nov 13, 2012 3:29 pm

You are welcome :)

Thank you for your return on this.

With best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests