Search found 83 matches

by Tom Princen
Mon Jan 23, 2017 12:02 pm
Forum: PDF-XChange Editor SDK
Topic: PXCp_SignDocumentW check if pass needed
Replies: 3
Views: 378

PXCp_SignDocumentW check if pass needed

Is there a way to check if there is a password needed when signing a document?
by Tom Princen
Mon Jan 23, 2017 10:32 am
Forum: PDF-XChange Core API SDK
Topic: IPXC_Document::DeferedDigitalSign Method
Replies: 3
Views: 1044

Re: IPXC_Document::DeferedDigitalSign Method

And is there a way to catch the error code?
by Tom Princen
Mon Jan 23, 2017 10:24 am
Forum: PDF-XChange Core API SDK
Topic: IPXC_Document::DeferedDigitalSign Method
Replies: 3
Views: 1044

IPXC_Document::DeferedDigitalSign Method

When I look at the online help it states that there is a return value. http://sdkhelp.tracker-software.com/view/PXV:IPXC_Document_DeferedDigitalSign But when I import the core api dll in visual studio c# it says its a void function??? [DispId(1610743904)] void DeferedDigitalSign(ref _CERT_CONTEXT pC...
by Tom Princen
Fri Dec 23, 2016 10:39 am
Forum: PDF-X OCR SDK
Topic: Error OCRing large file
Replies: 3
Views: 1803

Re: Error OCRing large file

Switching to 64 is not that simple.

Another option is to implement better memory handling in your code...
by Tom Princen
Wed Dec 21, 2016 9:11 am
Forum: PDF-X OCR SDK
Topic: Error OCRing large file
Replies: 3
Views: 1803

Error OCRing large file

When I try to ocr a file I get this error: System.Runtime.InteropServices.SEHException was unhandled Message=Een extern onderdeel heeft een uitzondering veroorzaakt. Source= ErrorCode=-2147467259 StackTrace: bij _Namespace..OCR_MakeSearchable(IntPtr pdf, PXO_Options& Options, IntPtr pagelist) bij _N...
by Tom Princen
Tue Dec 20, 2016 2:47 pm
Forum: PDF-XChange Core API SDK
Topic: Signing PDF files with AATL certificates
Replies: 1
Views: 729

Signing PDF files with AATL certificates

Is there a way to sign with the full certificate path? I only get the bottom certificate not the upper certificates from the certificate authority?

that bug was also present in the SDK...
by Tom Princen
Wed Dec 14, 2016 12:29 pm
Forum: PDF-X OCR SDK
Topic: Size of OCRed Files
Replies: 7
Views: 2650

Re: Size of OCRed Files

zip is password protected...

I downloaded the last pdf from the sdk download.

the veriosn i have is:
1.0.14.0
date modification: 28/11/2016

But the problem still exists. If I OCR the document in attachment the file size changes from 71kb to 716kb!
I use the OCR demo C#
by Tom Princen
Wed Dec 14, 2016 9:35 am
Forum: PDF-X OCR SDK
Topic: Size of OCRed Files
Replies: 7
Views: 2650

Re: Size of OCRed Files

on the site i see the 319 version is available.
Is this function included?

Also when i go to My Products i see only version 318?
by Tom Princen
Tue Dec 13, 2016 8:31 am
Forum: PDF-XChange Viewer SDK
Topic: Print dialog 2 times after closing
Replies: 11
Views: 1813

Re: Print dialog 2 times after closing

i send the code that is causing the problem:

>>Printdialog(0)

this opens the print dialog screen. And if you close this screen with the X on top right. It closes the window but the same print window reappears.

so you do not have this problem?
by Tom Princen
Mon Dec 12, 2016 2:25 pm
Forum: PDF-XChange Viewer SDK
Topic: Print dialog 2 times after closing
Replies: 11
Views: 1813

Re: Print dialog 2 times after closing

And did you find the problem?
by Tom Princen
Fri Dec 09, 2016 11:13 am
Forum: PDF-XChange Viewer SDK
Topic: Print dialog 2 times after closing
Replies: 11
Views: 1813

Re: Print dialog 2 times after closing

i needed to post it in the correct forum. thats why i created a new post.
Anyway could you look into it?
by Tom Princen
Fri Dec 09, 2016 7:39 am
Forum: PDF-XChange Viewer SDK
Topic: Print dialog 2 times after closing
Replies: 11
Views: 1813

Print dialog 2 times after closing

if you use the PrintDocument function from the active x viewer
a printdialog window opens. If you close this window without printing the print dialog reappears.

I am using version 2.5 build 318.1
by Tom Princen
Thu Dec 08, 2016 9:15 pm
Forum: PDF-XChange Viewer SDK
Topic: Print dialog 2 times after closing
Replies: 11
Views: 1813

Re: Print dialog 2 times after closing

if you use the PrintDocument function from the active x viewer
a printdialog window opens. If you close this window without printing the print dialog reappears.

I am using version 2.5 build 318.1
by Tom Princen
Thu Dec 08, 2016 2:55 pm
Forum: PDF-XChange Viewer SDK
Topic: Print dialog 2 times after closing
Replies: 11
Views: 1813

Print dialog 2 times after closing

When i use this code:
AX_TRACKERPDF>>GetActiveDocument(liFILEID)
AX_TRACKERPDF>>PrintDocument(liFILEID)

And I close the print dialog it appears for the second time. How do I solve this?
by Tom Princen
Wed Oct 26, 2016 1:56 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1635

Re: Get full text from PDF

Sorry i tried sorting based on top and left positions of Boxes, lines, ... But nothing gives a reasonable result. (I added the PDF as attachment.) MyLines = new LineOrder[NbLine]; NbLine = 0; for (uint j = 0; j < MyPageText.BlocksCount; j++) { for (uint k = 0; k < MyPageText.BlockInfo[j].ParaCount; ...
by Tom Princen
Tue Oct 25, 2016 9:42 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1635

Re: Get full text from PDF

Sorry but the blocks are also in the wrong order...
by Tom Princen
Tue Oct 25, 2016 12:39 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1635

Re: Get full text from PDF

That was the code I was using before. And thats the code thats reads the PDF from bottom to top...

I modified the code to check what's inside the parameters.
by Tom Princen
Tue Oct 25, 2016 12:27 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1635

Re: Get full text from PDF

for (int i = 0; i < MydocSource.Pages.Count; i++) { if (i>0){ Docinfo2 += System.Environment.NewLine; } IPXC_PageText MyPageText = MydocSource.Pages[(uint)i].GetText(IPXC_GetPageTextOptions.); for (uint j = 0; j < MyPageText.CharsCount; j++) { if ((MyPageText.get_CharFlags(j) == (uint)PXC_TextCharFl...
by Tom Princen
Mon Oct 24, 2016 8:02 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1635

Re: Get full text from PDF

2 other questions concerning th get TEXT method: 1. is there a way to control the order of how the characters are looped. It seems like he's looping from bottom right to top left? (The IPXC_GetPageTextOptions parameter is not really documented) 2. Could you help me with the coordinates from get_Char...
by Tom Princen
Fri Sep 23, 2016 12:37 pm
Forum: PDF-X OCR SDK
Topic: Size of OCRed Files
Replies: 7
Views: 2650

Size of OCRed Files

Is there allready a sollution for the problem that OCRed files are getting really big?
by Tom Princen
Tue Sep 06, 2016 11:47 am
Forum: PDF-XChange Core API SDK
Topic: rotating pages
Replies: 1
Views: 675

rotating pages

What is the code for rotating pages?
by Tom Princen
Mon Aug 01, 2016 10:07 am
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2586

Re: Error on openDocument from File after multiple Insert pa

Sorry but a .net application has other ways of handling external dlls. For some reason in my development environment one dll interferes with another if you do not properly close them. Is it it really that big change to develop a dispose function of some kind? So that I can use the init function mult...
by Tom Princen
Thu Jul 14, 2016 11:06 am
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2586

Re: Error on openDocument from File after multiple Insert pa

I created a Visual studio project. But there i don't have this issue.

My program is written in Windev. I don't you can do something with a windev project?
by Tom Princen
Wed Jul 13, 2016 3:53 pm
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2586

Re: Error on openDocument from File after multiple Insert pa

Sorry but I told you already several times in previous posts... this is what I do: 1. I use the split functionality from the core api. (I can do this en infinite number of times) 2. I use another .Net form control (IMSDKUIDocument.Controls.IMPdfView) This is a control that shows recognized data on P...
by Tom Princen
Wed Jul 13, 2016 3:25 pm
Forum: PDF-XChange Core API SDK
Topic: Core API PDF optimalisation
Replies: 1
Views: 704

Core API PDF optimalisation

Is the function for optimize PDF's allready available?

This function was availble before:
PXCp_OptimizeFonts(lipdf, 0)
PXCp_OptimizeRemoveNamedDests(liPDF)
PXCp_OptimizeStreamCompression(liPDF)
by Tom Princen
Wed Jul 13, 2016 3:22 pm
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2586

Re: Error on openDocument from File after multiple Insert pa

no it does not run smoothly.

When use other .Net dll's or other .Net controls between 2 successive calls. It does not work anymore.

I really need a possibility to reinitialize the core api functionality.
by Tom Princen
Wed Jul 13, 2016 2:58 pm
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2586

Re: Error on openDocument from File after multiple Insert pa

"Simply speaking the number of the Init() and Finalize() should be the same." This qoute is from this topic from Sasha at Fri Apr 29, 2016 6:23 am I tried using a global instance of my class. This works as long as I don't use other .Net dll's or other .Net controls in my program. Whenever another ....
by Tom Princen
Wed Jul 13, 2016 11:29 am
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2586

Re: Error on openDocument from File after multiple Insert pa

Sorry but you stated: "Simply speaking the number of the Init() and Finalize() should be the same." I use use the dll I created from another application. This is what I do in the other application. (this is not c# code) I have this function where I create a class from the dll I created: public void ...
by Tom Princen
Wed Jul 13, 2016 9:58 am
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2586

Re: Error on openDocument from File after multiple Insert pa

I use the core api to create a dll that I import in my program. I have this code for the initialization of the PXC: private void InitPDFX(string lsKey) { if (Initialized == false) { MyPXC.Init(lsKey); MyIPXS = (IPXS_Inst)MyPXC.GetExtension("PXS"); MyIAUX = (IAUX_Inst)MyPXC.GetExtension("AUX"); Initi...
by Tom Princen
Mon Jul 04, 2016 2:11 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1635

Re: Get full text from PDF

Any sample code?
How could it be so complex to just get a text of a PDF??
by Tom Princen
Mon Jul 04, 2016 1:33 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1635

Get full text from PDF

I have this code: IPXC_Document MydocSource = MyPXC.OpenDocumentFromFile(lsSourceFile, clbk); for (int i = 0; i < MydocSource.Pages.Count; i++) { IPXC_PageText MyPageText = MydocSource.Pages[(uint)i].GetText(null); Docinfo2 = Docinfo2 + " " + MyPageText.GetChars(0, MyPageText.CharCount); } It gets t...
by Tom Princen
Wed Jun 29, 2016 7:32 am
Forum: PDF-XChange Core API SDK
Topic: Find out if document is protected for modification
Replies: 5
Views: 982

Re: Find out if document is protected for modification

whats the PXC_RequestOper constant for requesting the page extraction right?
once again the documentation not complete...

http://sdkhelp.tracker-software.com/vie ... equestOper
by Tom Princen
Tue Jun 28, 2016 9:59 am
Forum: PDF-XChange Core API SDK
Topic: error COM cast
Replies: 6
Views: 1062

Re: error COM cast

I think I found the problem:
It is not threadsave!

You can only use the PXC.Init function from 1 thread?!
What's the best way to solve this?
by Tom Princen
Tue Jun 28, 2016 9:44 am
Forum: PDF-XChange Core API SDK
Topic: error COM cast
Replies: 6
Views: 1062

Re: error COM cast

This is the code that generates the error: if (Initialized == false) { MyPXC.Init(lsKey); //MyPXV.Init( // MyIPXV = (IPXV_Inst)MyPXC.GetExtension("PXC"); MyIPXS = (IPXS_Inst)MyPXC.GetExtension("PXS"); MyIAUX = (IAUX_Inst)MyPXC.GetExtension("AUX"); Initialized = true; }
by Tom Princen
Tue Jun 28, 2016 9:39 am
Forum: PDF-XChange Core API SDK
Topic: error COM cast
Replies: 6
Views: 1062

error COM cast

I got this error on a server. (On my PC everything works fine Unable to cast COM object of type 'System.__ComObject' to interface type 'PDFXCoreAPI.IPXS_Inst' This operation failed because the QueryInterface call on the COM component for the interface with IID '{9B44A054-D66C-4AC6-90DB-2E23FBB67EF5}...
by Tom Princen
Thu Jun 23, 2016 12:55 pm
Forum: PDF-XChange Core API SDK
Topic: Remove protection
Replies: 7
Views: 1011

Re: Remove protection

Can I use this:

create a new page in a new document. And copy all contents from the protected page on the new page?
And then save the new document.

How do I copy all the contents?
by Tom Princen
Thu Jun 23, 2016 11:34 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Print PDF to driver API
Replies: 3
Views: 2042

Re: Print PDF to driver API

A printed document does not have the security restrictions as the original file...
by Tom Princen
Wed Jun 22, 2016 3:52 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Print PDF to driver API
Replies: 3
Views: 2042

Print PDF to driver API

How can I send a PDF to the driver API?
by Tom Princen
Wed Jun 22, 2016 3:11 pm
Forum: PDF-XChange Core API SDK
Topic: Remove protection
Replies: 7
Views: 1011

Re: Remove protection

then ideed is it for the driver API
by Tom Princen
Wed Jun 22, 2016 2:59 pm
Forum: PDF-XChange Core API SDK
Topic: Remove protection
Replies: 7
Views: 1011

Re: Remove protection

This will not work because the passord is not available...

Is it possible to use the printer without the save file dialog?
by Tom Princen
Wed Jun 22, 2016 2:24 pm
Forum: PDF-XChange Core API SDK
Topic: Remove protection
Replies: 7
Views: 1011

Remove protection

What s the best way to remove the protection from a PDF? (without entering the pass) I noticed that when I print to the tracker virtual printer the created PDF is not protected anymore. Problem is that i do not know how to use virtual printer to create PDFs without the save as window is prompted... ...
by Tom Princen
Tue Jun 21, 2016 1:32 pm
Forum: PDF-X OCR SDK
Topic: PXO_InputField
Replies: 5
Views: 2258

Re: PXO_InputField

Is there a way to optimize the OCR results of a certain font?
I have some numbers that are very frequently are miss translated:

1 instead of 7 (see attachment 1)
by Tom Princen
Tue Jun 14, 2016 8:38 am
Forum: PDF-X OCR SDK
Topic: images flags
Replies: 3
Views: 1796

Re: images flags

Is the new SDK available? Can i download it?

Are there any C# samples.
by Tom Princen
Tue Jun 14, 2016 8:36 am
Forum: PDF-X OCR SDK
Topic: PXO_InputField
Replies: 5
Views: 2258

Re: PXO_InputField

PXO_InputField MyInputField = PXO_InputField(); MyInputField.top = 0; MyInputField.bottom = 100; MyInputField.left = 403; MyInputField.right = 604; MyInputField.nPage = 0; OCR_GetField(pdf, ref Options, out TextOut, Zone, (uint)PXO_FieldInputFlags.PXO_Origin_TopLeft); These MyinputField coordinates ...
by Tom Princen
Tue Jun 07, 2016 8:36 pm
Forum: PDF-X OCR SDK
Topic: images flags
Replies: 3
Views: 1796

images flags

could you document the image flags?

In the help there are only 3 items documented...
surpress output is not one of them
by Tom Princen
Tue Jun 07, 2016 8:35 pm
Forum: PDF-X OCR SDK
Topic: PXO_InputField
Replies: 5
Views: 2258

PXO_InputField

How do I calculate the coordinates (left, right, upper,...)?

In the help I find this quote “The unit is points (72 per inch).” But this does not seem correct?
by Tom Princen
Tue Jun 07, 2016 9:54 am
Forum: PDF-X OCR SDK
Topic: After OCR output file are 4x larger than Input files.
Replies: 17
Views: 7610

Re: After OCR output file are 4x larger than Input files.

Is this solved? Because I still have this problem?