Search found 54 matches

by johnr@etakeoff.com
Wed Feb 24, 2016 12:10 am
Forum: PDF-XChange Viewer SDK
Topic: File DIsplay Slow
Replies: 1
Views: 1477

File DIsplay Slow

I have a file where 2 pages display very slowly using the SDK. The file is 9.7 MB so I can't upload it. The same pages display almost instantaneously in Adobe Reader and other PDF viewing applications. Is there any way to get it to you to look at? It's available here: http://eTakeoff.com/downloads/P...
by johnr@etakeoff.com
Thu Feb 04, 2016 8:06 pm
Forum: PDF-XChange Editor SDK
Topic: Watermarks
Replies: 1
Views: 1336

Watermarks

I'm getting watermarks when I use the functions PXCp_InsertPagesTo() and PXCp_WriteDocumentA()

Should I be passing different arguments to PXCp_Init() than I pass to PXCV_Init()?
by johnr@etakeoff.com
Fri Oct 30, 2015 5:46 pm
Forum: PDF-XChange Viewer SDK
Topic: Slow display
Replies: 5
Views: 2521

Re: Slow display

After further exploration it looks like what we need is just the core layer. When will that product be available.

BTW, the editor is no faster that the current DLL.

A sample file it attached.
by johnr@etakeoff.com
Fri Oct 30, 2015 5:31 pm
Forum: PDF-XChange Viewer SDK
Topic: Slow display
Replies: 5
Views: 2521

Re: Slow display

At first glimpse. it looks like the editor uses it's own window. Can it be used to display a PDF file in different window the way the Simple DLL does?
by johnr@etakeoff.com
Wed Oct 28, 2015 10:59 pm
Forum: PDF-XChange Viewer SDK
Topic: Slow display
Replies: 5
Views: 2521

Slow display

We're using version 2.5.312.1. We're seeing slow display times on some files that display very quickly in Adobe. Is there any improvement in this from version 2.5.312.1 to the latest version 2.5.315.0?
by johnr@etakeoff.com
Wed Apr 08, 2015 4:51 pm
Forum: PDF-XChange Viewer SDK
Topic: Searching for and highlighting key words
Replies: 5
Views: 2627

Re: Searching for and highlighting key words

The view posted doesn't seem even vaguely related.

But I think the XCPRO40 Text Extraction methods will do what I want. It took me a while to figure out that the matric contained the coordinates. (That's explained in the documentation but I missed it.)

Thanks.
by johnr@etakeoff.com
Wed Apr 08, 2015 3:33 pm
Forum: PDF-XChange Viewer SDK
Topic: Searching for and highlighting key words
Replies: 5
Views: 2627

Re: Searching for and highlighting key words

I'm asking how to do it programmatically, using the SDK.

Since my original post I found the text extraction methods in the XCPRO40 library. It appears they would let me search for the text. But I don't see how to determine where the text would appear on the page so that I could highlight it.
by johnr@etakeoff.com
Tue Apr 07, 2015 10:35 pm
Forum: PDF-XChange Viewer SDK
Topic: Searching for and highlighting key words
Replies: 5
Views: 2627

Searching for and highlighting key words

I'm not sure which forum to post this in.

We would like to search documents for keywords then display pages with the keywords highlighted.

Is there a way to search, then get the document coordinates for where matches are located? Then we could do the highlighting ourselves.
by johnr@etakeoff.com
Fri Oct 03, 2014 10:36 pm
Forum: PDF-XChange Viewer SDK
Topic: CDC::EndPage() fails when printing a particular file
Replies: 6
Views: 3110

Re: CDC::EndPage() fails when printing a particular file

It happens on several different printers. Personally I've had problems with the CutePDF print driver and with an Epson WF-3540 printer.
by johnr@etakeoff.com
Fri Sep 26, 2014 5:59 pm
Forum: PDF-XChange Viewer SDK
Topic: CDC::EndPage() fails when printing a particular file
Replies: 6
Views: 3110

CDC::EndPage() fails when printing a particular file

I have a particular multi-page PDF file that displays fine but when I try to print it, the call to CDC:EndPage() returns -1 ( a general error). If I comment out the call to PXCV_DrawPageToDC(), EndPage produces no error. In one of your code samples I noticed calls to release the cache between DrawTo...
by johnr@etakeoff.com
Wed Jul 23, 2014 8:52 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

Re: PDF file doesn't display some parts.

OK, I'm an idiot. I relinked but forgot to change out the DLLs so I was still running with the old pxcview.dll. Sorry to waste your time.
by johnr@etakeoff.com
Wed Jul 23, 2014 8:13 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

Re: PDF file doesn't display some parts.

Well, now I'm baffled. I compiled and ran your example pxcview36_sample_app and it displays correctly. I checked the parameters I pass to PXCV_DrawPageToDC and they're the same (except for the rectangles) I checked the call to PXCV_Init() and even plugged my licensing stuff in but still it's fine in...
by johnr@etakeoff.com
Wed Jul 23, 2014 7:40 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

Re: PDF file doesn't display some parts.

I downloaded the latest just now. The problem still exists in the SDK.

Look at page 5. The upper right plan is not displayed
(above ELECTRICAL ENLARGED PLAN - TYPICAL SUITE)

Also on Page 1, the upper-left logo looks different than in the Adobe Viewer
by johnr@etakeoff.com
Mon Jun 23, 2014 3:47 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

Re: PDF file doesn't display some parts.

It's 17MB so it probably won't work via email either.

You can find it here: http://etakeoff.com/downloads/DisplayProblem.zip
by johnr@etakeoff.com
Fri Jun 13, 2014 4:33 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

Re: PDF file doesn't display some parts.

Here are the zipped files.
by johnr@etakeoff.com
Thu Jun 12, 2014 2:44 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

Re: PDF file doesn't display some parts.

Three files are attached:
- The PDF file
- An Adobe screen shot
- An SDK screen shot
by johnr@etakeoff.com
Tue May 27, 2014 4:50 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

Re: PDF file doesn't display some parts.

Has this been fixed yet?
by johnr@etakeoff.com
Tue Apr 22, 2014 11:11 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF file doesn't display some parts.
Replies: 13
Views: 5109

PDF file doesn't display some parts.

I have a file where some parts that display fine in your viewer and Adobe Reader are blank when displayed in our application using the simple DLL. I have downloaded the latest versions. The file is available here: http://etakeoff.com/downloads/DoesntDisplayViaSDK.pdf The missing part is in the upper...
by johnr@etakeoff.com
Wed Jan 11, 2012 11:19 pm
Forum: PDF-XChange Viewer SDK
Topic: Printing hangs when using pxvrpf_UseVectorRenderer
Replies: 6
Views: 2972

Re: Printing hangs when using pxvrpf_UseVectorRenderer

The problem is still present in 2.5-200
by johnr@etakeoff.com
Wed Dec 21, 2011 5:40 pm
Forum: PDF-XChange Viewer SDK
Topic: Printing hangs when using pxvrpf_UseVectorRenderer
Replies: 6
Views: 2972

Printing hangs when using pxvrpf_UseVectorRenderer

When calling PXCVDrawToDC with the pxvrpf_UseVectorRenderer option, the attached file, the function just hangs.
by johnr@etakeoff.com
Wed Nov 02, 2011 10:49 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

Just downloaded and installed it. It fixed the problem. Thanks.

Is there any place to subscribe to get notices when a new release is posted?
by johnr@etakeoff.com
Wed Nov 02, 2011 7:45 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

Is this fixed in 2.5.199?

We're getting majopr complaints from our end users on this problem.
http://forum.etakeoff.com/topic/time-delay
by johnr@etakeoff.com
Fri Aug 12, 2011 10:05 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

Any update on when the next version will be available?
by johnr@etakeoff.com
Tue Jul 05, 2011 3:22 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

Any estimate on when version 3 might be released?
by johnr@etakeoff.com
Wed Jun 29, 2011 3:23 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

void CRViewImgPdf::Draw(CDC* pDC, const RECT* pRectDst, const RECT* pRectCrop, UINT nFlags) const { PXV_CommonRenderParameters dp; HRESULT hResult; double dblMult; RECT rectPg; RECT rectDraw = *pRectDst; dblMult = ((double)(pRectDst->right - pRectDst->left)) / ((double)(pRectCrop->right - pRectCrop-...
by johnr@etakeoff.com
Wed Jun 29, 2011 2:51 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

When the user moves from one page to another, we call it on the previous page:

PXCV_ReleasePageCachedData(m_doc, nPgRelease, pxvrcd_ReleaseDocumentImages);

The slowness we're seeing happens even when zooming and scrolling on the same page.
by johnr@etakeoff.com
Tue Jun 28, 2011 5:43 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

I'm not sure that's the case we're seeing. I would expect you to decode them once when you load the page. We're seeing each screen refresh be slow as we pan and zoom.
by johnr@etakeoff.com
Tue Jun 28, 2011 4:14 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

We're using the simple SDK rather than the ActiveX. I don't see anything on MemUsage in the help.

We're already using PXCV_ReleasePageCachedData.
by johnr@etakeoff.com
Mon Jun 27, 2011 2:12 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

Re: PDF Files with large bitmaps slow to display

I'll work on getting more information about the systems where we see this. We're using the SDK. How can I use that to do the equivalent of "changing the memory allocated from Automatic to 50%"? You say "scrolling backwards is immediate". Does that mean you're cacheing all viewed ...
by johnr@etakeoff.com
Fri Jun 24, 2011 5:18 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 10548

PDF Files with large bitmaps slow to display

We're seeing PDF files containing large bitmaps display much more slowly with the PXCView SDK (0r the PDF XChange Viewer) than with Adobe. The problem is particularly bad with older CPUs. The file below displays in about 1 second in Adobe but takes nearly 10 seconds with PXCView. http://etakeoff.com...
by johnr@etakeoff.com
Tue May 03, 2011 9:50 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Re: Multi-thread access to the Simple Viewer DLL

Thanks to all.

I already had banding logic so it only took a few minutes to make sure no band was more than 4M pixels (128MB). The result was that what previously took 28 seconds to generate now takes less than 5 seconds.

I greatly appreciate your assistance.
by johnr@etakeoff.com
Wed Apr 27, 2011 10:15 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Re: Multi-thread access to the Simple Viewer DLL

Thanks for all the information. I'd always wondered why your viewer was blindingly fast when drawing to the screen but a dog when drawing to a large bitmap. Now I know. Yes, I know that a TIFF file is a bitmap. I'm not an idiot. What I didn't know was that you draw to an internal bitmap then draw th...
by johnr@etakeoff.com
Wed Apr 27, 2011 5:53 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Re: Multi-thread access to the Simple Viewer DLL

You're saying that whenever you draw, you draw to a bitmap first, then bitblt that image to the DC?

That would explain A LOT.

Any way to turn that off - other than the banding.
by johnr@etakeoff.com
Wed Apr 27, 2011 1:37 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Re: Multi-thread access to the Simple Viewer DLL

What you're saying is not true in our case. To create the TIFF file, we create a monchrome bitmap, select it into the DC, draw and save it as a TIFF file. There's no 32 bit bitmap. To make sure, I ran our application on a pdf file that was 18x24 300 dpi. By your calculation this would be 311 MB. By ...
by johnr@etakeoff.com
Wed Apr 27, 2011 12:02 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Re: Multi-thread access to the Simple Viewer DLL

Actually, because the bitmaps are monchrome, it only requires 24 MB per bitmap (30*40*400*400/8). That's not much memory for today's machines. Back in 1996 when we started it was a serious challenge, even at 200 DPI.
by johnr@etakeoff.com
Wed Apr 27, 2011 11:29 am
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Re: Multi-thread access to the Simple Viewer DLL

We generate large 30"x40", 400 DPI, monochrome bitmaps. But let me dig deeper into this before I use any more of your time. My preliminary investigation indicated a possible multi-threading problem but that may not be the case.

Thanks for your help.
by johnr@etakeoff.com
Wed Apr 27, 2011 10:53 am
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Re: Multi-thread access to the Simple Viewer DLL

I'm aware of all the issues with writing to a large bitmap. We do that regulalrly and it typically takes 10-20 seconds. What we're seeing here is quite different. It's easily 50 time longer. But you've answered my basic question that it should be multi-thread safe. I'll dig into it further. BTW, we ...
by johnr@etakeoff.com
Tue Apr 26, 2011 1:41 pm
Forum: PDF-XChange Viewer SDK
Topic: Does the Viewer DLL Get Corrupted Somehow?
Replies: 9
Views: 3915

Re: Does the Viewer DLL Get Corrupted Somehow?

You say to use one of your example apps. Can you suggest one? I'm not really familiar with them.
by johnr@etakeoff.com
Tue Apr 26, 2011 1:28 pm
Forum: PDF-XChange Viewer SDK
Topic: Does the Viewer DLL Get Corrupted Somehow?
Replies: 9
Views: 3915

Re: Does the Viewer DLL Get Corrupted Somehow?

That's a possibility. (If it happens with a cooperative customer.) Would your viewer be an appropriate application? It may be a few weeks before we run into it again.

BTW, next time we run into a REPEATABLE crash, I'll pass that file along.
by johnr@etakeoff.com
Tue Apr 26, 2011 1:24 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 5929

Multi-thread access to the Simple Viewer DLL

We have an application to generate TIFF files from PDF files/pages. It uses three threads. The main thread displays the current page for the user to view. A second thread opens the next file/page in the background. After the user enters some information, a third thread generates the TIFF file by wri...
by johnr@etakeoff.com
Tue Apr 26, 2011 1:16 pm
Forum: PDF-XChange Viewer SDK
Topic: Does the Viewer DLL Get Corrupted Somehow?
Replies: 9
Views: 3915

Re: Does the Viewer DLL Get Corrupted Somehow?

We are using the simple viewer DLL, not the ActiveX. Recreating this is nearly impossible. It happens on a customer's system, but when we transfer the PDF file to another system (or reboot the system), everything works fine. I'm not even sure it's a PXCView problem. The crash happens in pcxview.dll ...
by johnr@etakeoff.com
Tue Apr 26, 2011 11:08 am
Forum: PDF-XChange Viewer SDK
Topic: Does the Viewer DLL Get Corrupted Somehow?
Replies: 9
Views: 3915

Re: Does the Viewer DLL Get Corrupted Somehow?

We're seeing this on the viewer SDK. I'll have our support staff grab the file on the next example.
by johnr@etakeoff.com
Fri Apr 22, 2011 8:57 pm
Forum: PDF-XChange Viewer SDK
Topic: Does the Viewer DLL Get Corrupted Somehow?
Replies: 9
Views: 3915

Does the Viewer DLL Get Corrupted Somehow?

We're seeing behavior that I want to report in case others are seeing it. Sometimes our application crashes while opening a file withe the viewer library. Usually this is because the PDF file is corrupt. But somtimes we find that the file is fine. The problem goes away if the system is rebooted. My ...
by johnr@etakeoff.com
Tue Dec 07, 2010 12:29 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Page displays very slowly.
Replies: 4
Views: 2541

Re: Page displays very slowly.

WOW! Build 189 sure fixes it.

The display time went from 41 seconds to less than 3.

Also, the speed of converting to TIFF by drawing to a large bitmap has been improved by 400%-500%.

You guys are AWESOME!

Thanks.
by johnr@etakeoff.com
Mon Dec 06, 2010 6:43 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Page displays very slowly.
Replies: 4
Views: 2541

Re: Page displays very slowly.

Page 3 is the one that displays slowly.
by johnr@etakeoff.com
Mon Dec 06, 2010 6:42 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Page displays very slowly.
Replies: 4
Views: 2541

Page displays very slowly.

We had reported this problem in earlier versions of the SDK and we're told it would be fixed in version 2.5. It's not. We run in to this from time to time where a page will take over 30 seconds to display. I have an example but it's too big to attach (6 MB). You can get it here: http://www.etakeoff....
by johnr@etakeoff.com
Mon Nov 29, 2010 3:18 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Using the Tools SDK with the Viewer SDK
Replies: 5
Views: 2644

Re: Using the Tools SDK with the Viewer SDK

Unfortunately I'm using the simple DLL viewer SDK. But I don't make any changes to the PDF file through either the toolkit or the viewer SDK. Here's what I'd like to do: - Open the file in the viewer - See if it has multiple pages (80% won't for the files we deal with) - If multiple pages: - Open th...
by johnr@etakeoff.com
Tue Nov 23, 2010 4:18 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Using the Tools SDK with the Viewer SDK
Replies: 5
Views: 2644

Re: Using the Tools SDK with the Viewer SDK

The header files I'm referring top are those in "C:\Program Files\Tracker Software\PDF-XChange Viewer SDK\Include" and "C:\Program Files\Tracker Software\PDF-Tools 4 SDK\Examples\Include". All those in the viewer folder reappear in the Tools folder. They're identical today but wh...