Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Direct Access and New PDF
  FAQ FAQ  Forum Search   Register Register  Login Login

Direct Access and New PDF

 Post Reply Post Reply
Author
Message
bwboyte View Drop Down
Beginner
Beginner


Joined: 05 Jun 14
Location: Nashville
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bwboyte Quote  Post ReplyReply Direct Link To This Post Topic: Direct Access and New PDF
    Posted: 05 Jun 14 at 5:07PM
We use the Direct Access Functions to Display and extract text and would like to use the PDF library to create PDF's.

When we use the Non Direct Access Functions to create PDF's, it appears to be much slower than our current PDF output library. The Current PDF Library we are using has other issues, but it is fast.

We can get 16 pages per second with our existing and 5 with PDF Library.

A lot of time appears to be occurring in TPDFSTructure.RemoveObject with lots of calls to TPDFObject.haschild (part of the RemoveObject process).

With a relatively small pdf (827 pages), the RemoveObject is called 17366 times with Haschild being called 2,617,307,064 times.

Is it possible to use the Direct Access functions to create a New PDF?

I see DANewPage but do not see any way to draw on the page.

There is no selectfont, drawtext, etc.

We will also be working with Very large PDF's at times. Some PDF's may be over 100,000 pages and holding all the data in Memory will be a problem.





Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jun 14 at 8:32PM
Hi,

the DA-functions are only a subset of the whole functionality.
Only the functions with much memory usage are copied as DA-functions.
It's not possible to mix both types of functions.
If you wanna use both you have to do a free and a new create before using DA...

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store