Search found 83 matches

by Tom Princen
Wed Jun 01, 2016 12:35 pm
Forum: PDF-XChange Core API SDK
Topic: Find out if document is protected for modification
Replies: 5
Views: 1006

Find out if document is protected for modification

How do i know what is allowed with the PDF?

I found out these 2 functions but they are not documented on the site

GetSecurityData
and
GetSecurityHandler
by Tom Princen
Tue May 03, 2016 12:38 pm
Forum: PDF-XChange Core API SDK
Topic: Print PDF to specific printer
Replies: 1
Views: 607

Print PDF to specific printer

Is there a way to print a pdf file to a specific printer?
by Tom Princen
Thu Apr 28, 2016 10:10 pm
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2658

Re: Error on openDocument from File after multiple Insert pa

I found the solution
I did use the Init() function twice
by Tom Princen
Thu Apr 28, 2016 2:33 pm
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2658

Error on openDocument from File after multiple Insert page

I have this method: public int MyJoinPages(string MyKey, string lsSourceFile1, string lsSourceFile2, string lsOutputFile) { InitPDFX(MyKey); CDocAuthCallback clbk = new CDocAuthCallback(); clbk.m_pxsInst = MyIPXS; IPXC_Document MydocSource1 = MyPXC.OpenDocumentFromFile(lsSourceFile1, clbk); IPXC_Doc...
by Tom Princen
Wed Apr 27, 2016 2:03 pm
Forum: PDF-XChange Core API SDK
Topic: Signature from store
Replies: 15
Views: 2172

Re: Signature from store

Any temporary work around?
by Tom Princen
Wed Apr 27, 2016 1:58 pm
Forum: PDF-XChange Core API SDK
Topic: Signature from store
Replies: 15
Views: 2172

Re: Signature from store

Any news?
by Tom Princen
Tue Apr 26, 2016 12:54 pm
Forum: PDF-XChange Core API SDK
Topic: Signature from store
Replies: 15
Views: 2172

Re: Signature from store

This is the only method that is missing: private void InitPDFX(string lsKey) { MyPXC.Init(lsKey); //MyIPXC = (IPXC_Inst)MyPXC.GetExtension("PXC"); MyIPXS = (IPXS_Inst)MyPXC.GetExtension("PXS"); MyIAUX = (IAUX_Inst)MyPXC.GetExtension("AUX"); } The callback class you should have: class CDocAuthCallbac...
by Tom Princen
Tue Apr 26, 2016 11:03 am
Forum: PDF-XChange Core API SDK
Topic: Signature from store
Replies: 15
Views: 2172

Re: Signature from store

I have this code: I get memory errors in write to file WriteToFile. Do you know what's wrong? uint CERT_FIND_SUBJECT_STR = 0x00080007; uint CERT_ENCODING = 0x00000001 | 0x00010000;// X509_ASN_ENCODING =0x00000001 | PKCS_7_ASN_ENCODING = 0x00010000 // uint CERT_NAME_SIMPLE_DISPLAY_TYPE = 4; IntPtr hS...
by Tom Princen
Mon Apr 25, 2016 2:57 pm
Forum: PDF-XChange Core API SDK
Topic: Signature from store
Replies: 15
Views: 2172

Re: Signature from store

oh and could you give some more info about:
http://sdkhelp.tracker-software.com/vie ... RT_CONTEXT
by Tom Princen
Mon Apr 25, 2016 2:47 pm
Forum: PDF-XChange Core API SDK
Topic: Signature from store
Replies: 15
Views: 2172

Re: Signature from store

and do you have any info about the flags?

nFlags
[in] Value of ULONG.

does not mean a lot...
by Tom Princen
Mon Apr 25, 2016 2:10 pm
Forum: PDF-XChange Core API SDK
Topic: What SDK should we use?
Replies: 46
Views: 6207

Re: What SDK should we use?

do you have the link?
by Tom Princen
Mon Apr 25, 2016 1:50 pm
Forum: PDF-XChange Core API SDK
Topic: What SDK should we use?
Replies: 46
Views: 6207

Re: What SDK should we use?

is OCR allready available in the core API?
and export to PDF/a?
by Tom Princen
Mon Apr 25, 2016 12:42 pm
Forum: PDF-XChange Core API SDK
Topic: Signature from store
Replies: 15
Views: 2172

Signature from store

How can i add a barcode from the certificate store?

I think I should use the DeferedDigitalSign Method

But it is not documented... How can I set the timestampserver? (I used PXCp_SetTSAServerW in the sdk)
by Tom Princen
Thu Apr 21, 2016 2:37 pm
Forum: PDF-XChange Core API SDK
Topic: IPXC_BackgroundParams
Replies: 13
Views: 1299

Re: IPXC_BackgroundParams

As I explained before the help is not very helpfull. Most of the parameters are not explained at all. Its the first time I see that the enumerations are explained. :) Please have a look at PXC_TextRenderingMode Enumeration that the normal state of your help... So sorry for asking questions... I thou...
by Tom Princen
Thu Apr 21, 2016 2:23 pm
Forum: PDF-XChange Core API SDK
Topic: PXCp_ReadDocumentW / PXCp_GetDocumentInfoW
Replies: 3
Views: 724

Re: PXCp_ReadDocumentW / PXCp_GetDocumentInfoW

It is not about opening documents I allready tackled this problem.

It is about getting info from the file

PXCp_GetDocumentInfoW
by Tom Princen
Thu Apr 21, 2016 2:18 pm
Forum: PDF-XChange Core API SDK
Topic: IPXC_BackgroundParams
Replies: 13
Views: 1299

Re: IPXC_BackgroundParams

And how do you make the barcode the right size? It are both A4 documents but he makes the barcode small
by Tom Princen
Thu Apr 21, 2016 1:58 pm
Forum: PDF-XChange Core API SDK
Topic: watermark full page
Replies: 1
Views: 665

watermark full page

How do i specify that the watermark (text) can use the whole page. And adapt the font of the watermark accordingly.

Do the rendermodes do anything?
by Tom Princen
Thu Apr 21, 2016 1:27 pm
Forum: PDF-XChange Core API SDK
Topic: Extract pages
Replies: 3
Views: 649

Re: Extract pages

OK after update it works
by Tom Princen
Thu Apr 21, 2016 1:07 pm
Forum: PDF-XChange Core API SDK
Topic: IPXC_BackgroundParams
Replies: 13
Views: 1299

Re: IPXC_BackgroundParams

still no luck: I am using the files in the attachment. Can you have a try? InitPDFX(MyKey); CDocAuthCallback clbk = new CDocAuthCallback(); clbk.m_pxsInst = MyIPXS; IPXC_Document Mydoc = MyPXC.OpenDocumentFromFile(lsSourceFile, clbk); IBitSet MyBitSet = MyIAUX.CreateBitSet(Mydoc.Pages.Count); MyBitS...
by Tom Princen
Thu Apr 21, 2016 12:48 pm
Forum: PDF-XChange Core API SDK
Topic: Extract pages
Replies: 3
Views: 649

Extract pages

this code generates errror E_FAIL (errorcode -2147467259) on line MyDocExtract.Pages.InsertPagesFromDoc(MydocSource, 0, 1, 1, 0); What am I doing wrong? This is my code InitPDFX(MyKey); CDocAuthCallback clbk = new CDocAuthCallback(); clbk.m_pxsInst = MyIPXS; IPXC_Document MydocSource = MyPXC.OpenDoc...
by Tom Princen
Thu Apr 21, 2016 11:10 am
Forum: PDF-XChange Core API SDK
Topic: IPXC_BackgroundParams
Replies: 13
Views: 1299

Re: IPXC_BackgroundParams

With text there is no problem: IPXC_Document Mydoc = MyPXC.OpenDocumentFromFile(lsSourceFile, clbk); IBitSet MyBitSet = MyIAUX.CreateBitSet(Mydoc.Pages.Count); MyBitSet.Set(0, Mydoc.Pages.Count); IPXC_WatermarkParams MyWatermark = MyPXC.CreateWatermarkParams(); MyWatermark.Text = lsWatermarkText; My...
by Tom Princen
Thu Apr 21, 2016 9:59 am
Forum: PDF-XChange Core API SDK
Topic: IPXC_BackgroundParams
Replies: 13
Views: 1299

Re: IPXC_BackgroundParams

Does not work: IPXC_Document Mydoc = MyPXC.OpenDocumentFromFile(lsSourceFile, clbk); IBitSet MyBitSet = MyIAUX.CreateBitSet(Mydoc.Pages.Count); MyBitSet.Set(0, Mydoc.Pages.Count); IPXC_WatermarkParams MyWatermark = MyPXC.CreateWatermarkParams(); MyWatermark.ImageFile = lsBackgroundPdf; MyWatermark.I...
by Tom Princen
Thu Apr 21, 2016 9:35 am
Forum: PDF-XChange Core API SDK
Topic: IPXC_BackgroundParams
Replies: 13
Views: 1299

IPXC_BackgroundParams

How do I find out what all of the settings do? The help is not very helpfull... I have this code: But it does not do anything IPXC_Document Mydoc = MyPXC.OpenDocumentFromFile(lsSourceFile, clbk); //System.Windows.Forms.MessageBox.Show(Mydoc.Pages.Count.ToString()); IBitSet MyBitSet = MyIAUX.CreateBi...
by Tom Princen
Mon Apr 18, 2016 12:04 pm
Forum: PDF-XChange Core API SDK
Topic: PXCp_ReadDocumentW / PXCp_GetDocumentInfoW
Replies: 3
Views: 724

PXCp_ReadDocumentW / PXCp_GetDocumentInfoW

I was using the SDK and there you have the functions PXCp_ReadDocumentW & PXCp_GetDocumentInfoW to get document information
What are the core api corresponding methods?
by Tom Princen
Mon Apr 18, 2016 11:58 am
Forum: PDF-XChange Core API SDK
Topic: watermark
Replies: 1
Views: 564

watermark

How do i add a watermark? I think something is wrong with the IBitSet. CDocAuthCallback clbk = new CDocAuthCallback(); clbk.m_pxsInst = MyIPXS; IPXC_Document Mydoc = MyPXC.OpenDocumentFromFile(lsSourceFile, clbk); IPXC_WatermarkParams MyWatermark = MyPXC.CreateWatermarkParams(); MyWatermark.Text = l...
by Tom Princen
Mon Apr 04, 2016 7:27 pm
Forum: PDF-XChange Core API SDK
Topic: C# PXC_Instance
Replies: 4
Views: 1236

Re: C# PXC_Instance

i think i am a bit furder but i get now error code -2112352139 on the last line of this code: CDocAuthCallback clbk = new CDocAuthCallback(); clbk.m_pxsInst = MyIPXS; IPXC_Document Mydoc = MyPXC.OpenDocumentFromFile(lsSourceFile, clbk); System.Runtime.InteropServices.COMException was unhandled Messa...
by Tom Princen
Mon Apr 04, 2016 5:56 pm
Forum: PDF-XChange Core API SDK
Topic: C# PXC_Instance
Replies: 4
Views: 1236

Re: C# PXC_Instance

I read them allready but the articles where not really helpfull.

the say i need to use this:
by using the CoCreateInstance. For example, in C#:

AxPDFXEdit.AxPXC_Inst pdfCoreInst = AxPDFXEdit.AxPXC_Inst();


Where do i find AxPDFXedit? I only have PDFCoreApi...
by Tom Princen
Tue Mar 29, 2016 9:21 pm
Forum: PDF-XChange Core API SDK
Topic: C# PXC_Instance
Replies: 4
Views: 1236

C# PXC_Instance

I could not find a way to get an instance of IPXC_Inst... you'll find the code bellow I get null object errors on line MyPXC.Init(lsKey); public class FITdocPDFEditor { IPXC_Inst MyIPXC = null; IPXS_Inst MyIPXS = null; PXC_Inst MyPXC = null; //IPXV_Inst pdfInst; private void InitPDFX(string lsKey) {...
by Tom Princen
Tue Jan 12, 2016 2:00 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Signing PDF files with AATL certificates
Replies: 7
Views: 2507

Re: 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?
by Tom Princen
Wed Dec 30, 2015 2:19 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Signing PDF files with AATL certificates
Replies: 7
Views: 2507

Re: Signing PDF files with AATL certificates

I do that but I get a password token logon screen when I use the certificate. (a screen from globalsign)

pfx files are not possible with aatl certificates.
by Tom Princen
Wed Dec 30, 2015 1:36 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Signing PDF files with AATL certificates
Replies: 7
Views: 2507

Signing PDF files with AATL certificates

Is there a way to pass along the password with the PXCp_SignDocumentW function?
by Tom Princen
Wed Mar 25, 2015 10:20 am
Forum: PDF-XChange Viewer SDK
Topic: registration free deployment Non .Net Environment (Windev)
Replies: 1
Views: 610

registration free deployment Non .Net Environment (Windev)

Does the registration free deployment work with windev?

Because I could not get it working