Search found 130 matches

by EricAriens
Wed Dec 07, 2016 8:48 am
Forum: PDF-XChange Editor SDK
Topic: dynamic stamps
Replies: 5
Views: 488

Re: dynamic stamps

Hi Chavas, This is something I created to use in our software to create a 'dynamic stamp' Private Function Stamp(tagPoint As tagPOINT) As Boolean Try Dim pagePt As PXC_Point = New PXC_Point() Dim pageNr As Integer pageNr = PDFViewer.Doc.ActiveView.PagesView.Layout.HitTest(tagPoint, pagePt) If (pageN...
by EricAriens
Tue Oct 04, 2016 1:42 pm
Forum: PDF-XChange Editor SDK
Topic: double click to open file
Replies: 11
Views: 863

Re: double click to open file

Hi,

That was all the info I needed.
Working like a charm :lol:

Thanks
Eric
by EricAriens
Tue Oct 04, 2016 1:28 pm
Forum: PDF-XChange Editor SDK
Topic: error saving file in temp directory
Replies: 5
Views: 515

Re: error saving file in temp directory

Hi,

Yep that did the trick :D

Thanks
Eric
by EricAriens
Tue Oct 04, 2016 12:51 pm
Forum: PDF-XChange Editor SDK
Topic: Get color from highlight
Replies: 11
Views: 870

Re: Get color from highlight

Hi,

That did the trick.

Thanks

Eric
by EricAriens
Tue Oct 04, 2016 12:43 pm
Forum: PDF-XChange Editor SDK
Topic: double click to open file
Replies: 11
Views: 863

Re: double click to open file

Hi, I implemented the CustomEventListner and initialized it. canvasDoubleClick = new CustomEventTarget(pdfCtl.Inst.MainFrm[0].View.DocViewsArea.Obj, this); What is the eventcode for double click? Or should I detect LeftMouseButtonDown or LeftMouseButtonUp and count the clicks (tricky). Regards Eric
by EricAriens
Tue Oct 04, 2016 12:25 pm
Forum: PDF-XChange Editor SDK
Topic: Get color from highlight
Replies: 11
Views: 870

Re: Get color from highlight

Hi, Nope not correct :( pxsInst.StrToAtom("tool.annot.highlight") = 6897 Should be 2050 This are the tools I am talking about with the id in 3.17 and the id in 318 Square = 1996 = 2029 Oval = 1997 = 2030 StickyNote = 1998 = 2031 FileAttachment = 1999 = 2032 Sound = 2000 = 2033 Line = 2001 = 2034 Arr...
by EricAriens
Tue Oct 04, 2016 11:14 am
Forum: PDF-XChange Editor SDK
Topic: Get color from highlight
Replies: 11
Views: 870

Re: Get color from highlight

pxsInst.StrToAtom does not give the correct value.

The StrToAtom value for Highlight = 2915
The highLight style id = 2050

Regards
Eric
by EricAriens
Tue Oct 04, 2016 10:56 am
Forum: PDF-XChange Editor SDK
Topic: error saving file in temp directory
Replies: 5
Views: 515

Re: error saving file in temp directory

Hi,

Path checked and does exists.
The file obviously not but I want to create it.
C:\Users\eric\AppData\Local\Temp\Test pagina meerder paginas.pdf

Regards
Eric
by EricAriens
Tue Oct 04, 2016 10:54 am
Forum: PDF-XChange Editor SDK
Topic: Get color from highlight
Replies: 11
Views: 870

Re: Get color from highlight

Hi, I think you refer to this uint squareAnnotType = pxsInst.StrToAtom("Square"); uint annotsCnt = annotsEvent.Items.Count; for (uint i = 0; i < annotsCnt; i++) { PDFXEdit.IPXC_Annotation annot = annotsEvent.Items[i]; if (squareAnnotType == annot.Type) { uint pageIndex = annot.Page.Number; } } / But...
by EricAriens
Tue Oct 04, 2016 9:48 am
Forum: PDF-XChange Editor SDK
Topic: error saving file in temp directory
Replies: 5
Views: 515

error saving file in temp directory

Hi, I get an error when saving a document in a temp directory. The following code can be used to reproduce the error. The error is System.ArgumentException, Value does not fall within the expected range. string tmpFile; FileInfo fi = new FileInfo("C:\\Users\\eric\\Downloads\\Test pagina meerder pagi...
by EricAriens
Tue Oct 04, 2016 7:57 am
Forum: PDF-XChange Editor SDK
Topic: double click to open file
Replies: 11
Views: 863

Re: double click to open file

Hi,

I checked the thread. This method will detect all open file. I only want to detect when a file is opened with the canvas double click.

Regards
Eric
by EricAriens
Tue Oct 04, 2016 7:14 am
Forum: PDF-XChange Editor SDK
Topic: Get color from highlight
Replies: 11
Views: 870

Re: Get color from highlight

Hi,

I already use that in my code so that should be no problem.
Can you give me the string representations of the tools?

Regards
Eric
by EricAriens
Mon Oct 03, 2016 1:33 pm
Forum: PDF-XChange Editor SDK
Topic: double click to open file
Replies: 11
Views: 863

Re: double click to open file

Hi,

The initialized or viewing event fire to late for me. Is it possible to catch the double click and start the open dialog myself?
I have to do some initialization myself and have already an open file method..

Regards
Eric Ariens
by EricAriens
Mon Oct 03, 2016 10:05 am
Forum: PDF-XChange Editor SDK
Topic: Get color from highlight
Replies: 11
Views: 870

Get color from highlight

Hi, I created some code to create a 'square highlight'. This is the method to create the highlight: private void MakeSquareImageHighLight(IPXC_Annotation pxcAnnotation) { IPXV_CommentStylesManager stylesManager = pdfCtl.Inst.CommentStylesManager; ICabNode highLightStyle = stylesManager.GetCurrentSty...
by EricAriens
Mon Aug 01, 2016 9:56 am
Forum: PDF-XChange Editor SDK
Topic: installation
Replies: 6
Views: 608

Re: installation

Hi,

That did the trick. For the test I moved the core files to a separate directory.
When I copied the resource to that directory the application started with no problem.
:D :D :D :D :D :D :D

Regards
Eric
by EricAriens
Mon Aug 01, 2016 7:14 am
Forum: PDF-XChange Editor SDK
Topic: installation
Replies: 6
Views: 608

Re: installation

Hi, I checked and tried several things and this are the results: The OS is 64 bit (see '64 bit os.jpg'). The referenced core is 32 bit (see attached '32bit reference.jpg'). When running the application with no core registered I get a COMM class error (see attached 'No core registered.jpg'). When run...
by EricAriens
Thu Jul 28, 2016 11:01 am
Forum: PDF-XChange Editor SDK
Topic: detect closing seach pane or search popup
Replies: 11
Views: 1091

Re: detect closing seach pane or search popup

Hi docu-track99,

I added my FullDemo.
It has an extra tab Test with a button SearchPane and checkbox visible to show correct working.

Regards
Eric
by EricAriens
Thu Jul 28, 2016 10:45 am
Forum: PDF-XChange Editor SDK
Topic: installation
Replies: 6
Views: 608

Re: installation

Hi,

The perferanceRegPath = HKCU\SOFTWARE\VDD\Hyarchis.Net\PDFViewer\CtrlSettings.
The are no keys or values in CtrlSettings.

When I catch the exception the exceptionmessage is:Value does not fall within the expected range.

Regards
Eric
by EricAriens
Thu Jul 28, 2016 10:06 am
Forum: PDF-XChange Editor SDK
Topic: installation
Replies: 6
Views: 608

installation

Hi, I want to run my application on a test computer. Running on the build computer is no problem but I can not run the application on the test computer. Dim inst As PXV_Inst = New PXV_Inst() Dim perferenceRegPath As IString = inst.CreateString(PrefsRegPath) Dim licKeyDEMO As String = "***" Dim licKe...
by EricAriens
Thu Jul 21, 2016 1:08 pm
Forum: PDF-XChange Editor SDK
Topic: disable drag and drop whith multiple documents
Replies: 1
Views: 310

disable drag and drop whith multiple documents

Hi,

I want to disable (and hide) the drag & drop button that appears when you open multiple documents.
I checked the Demo application and it does not have the button but I can not find how to deactivate it.
I added an image to make it exactly clear what I am refering to.

Regards
Eric
by EricAriens
Tue Jul 19, 2016 2:19 pm
Forum: PDF-XChange Editor SDK
Topic: auto open/close attachment pane
Replies: 3
Views: 334

Re: auto open/close attachment pane

Hi, Yep thats it. Part one. PDFXEdit.IPXC_NameTree Tree = doc.CoreDoc.GetNameTree("EmbeddedFiles"); uint nAttachmentsCount = Tree.Count; if (nAttachmentsCount > 0) { ShowPane(IDS.attachmentsView, true); } else { ShowPane(IDS.attachmentsView, false); } Part two will follow soon ;-) Regards Eric
by EricAriens
Tue Jul 19, 2016 1:20 pm
Forum: PDF-XChange Editor SDK
Topic: OCR and attachements
Replies: 1
Views: 267

OCR and attachements

Hi,

When I ocr a document are the attachments also ocred?

Eric
by EricAriens
Tue Jul 19, 2016 12:32 pm
Forum: PDF-XChange Editor SDK
Topic: auto open/close attachment pane
Replies: 3
Views: 334

auto open/close attachment pane

Hi, I want to automatically open the attachment pane when the pdf has attachments, and close the pane if the document has no attachments. I can detect the what document is showed with the e.activeDocChanged event. The problem is determining if the active doc has attachments. I checked the online sof...
by EricAriens
Mon Jul 18, 2016 12:47 pm
Forum: PDF-XChange Editor SDK
Topic: double click to open file
Replies: 11
Views: 863

Re: double click to open file

Hi,

Is it possible to detect when opening a file with the double click.
The first time a document opens I need to add a custom event handler.

Regards
Eric
by EricAriens
Wed Jul 06, 2016 8:53 am
Forum: PDF-XChange Editor SDK
Topic: Opening documents in read-only using Open dialog
Replies: 13
Views: 1566

Re: Opening documents in read-only using Open dialog

Hi

Forget about the previous question. As I have the filename I can use the FileInfo and determine if the file is readonly.
If so then I can set the PermsFlags accordingly the above example.

Regards
Eric
by EricAriens
Wed Jul 06, 2016 7:49 am
Forum: PDF-XChange Editor SDK
Topic: Opening documents in read-only using Open dialog
Replies: 13
Views: 1566

Re: Opening documents in read-only using Open dialog

Hi, We also open document via some other OpenDialog (HyarchisOpenDialog). The HyarchisOpenDialog will return a filename (including path). We use the path with the OpenDocFromPath method. Is there cmd for this method? If so what is it and how do I pass the path to it? I do understand that I have to w...
by EricAriens
Wed Jul 06, 2016 6:13 am
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

Re: detecting select text tool finished

Hi,

Hardcode every thing.
The user clicks on a button and the selects a text. After that the rest should go automatically.

Regards
Eric
by EricAriens
Tue Jul 05, 2016 1:55 pm
Forum: PDF-XChange Editor SDK
Topic: Change pane name
Replies: 5
Views: 450

Re: Change pane name

Hi, I did found not exactly a wrong translation but as native dutch I say not correct. In the menu document option 'Extract' is translated with 'Uithalen'. I think a better translation would be 'Extract' :D Yep the same in English as in Dutch. The same for the dialog header for the Extract pages dia...
by EricAriens
Tue Jul 05, 2016 11:35 am
Forum: PDF-XChange Editor SDK
Topic: Change pane name
Replies: 5
Views: 450

Re: Change pane name

Hi,

No the translation is fine but we see it as an annotation list and want it named that way.

I will see what I can do with the localization/translation file
I can only changed names on localized instances with those file. Is that correct?

Regards
Eric
by EricAriens
Tue Jul 05, 2016 10:49 am
Forum: PDF-XChange Editor SDK
Topic: Change pane name
Replies: 5
Views: 450

Change pane name

Hi,

Is it possible to change the name of a pane?
If so, how do I do that?

I added a image to show what name I want to change (2 places).

Regards
Eric
by EricAriens
Mon Jul 04, 2016 1:58 pm
Forum: PDF-XChange Editor
Topic: page numbering
Replies: 1
Views: 345

page numbering

Hi,

I added page numbering to a document and saved the document. I reopened the document but the thumbnails have still the old page numbers.
I added an image to show the problem.

Regards
Eric
by EricAriens
Mon Jul 04, 2016 1:10 pm
Forum: PDF-XChange Editor SDK
Topic: annotation set_actions in vb.Net
Replies: 4
Views: 446

Re: annotation set_actions in vb.Net

Hi, I have some more information. The proper way to initialize is the next: Dim actionList As IPXC_ActionsList actionList = PDFViewer.Doc.CoreDoc.CreateActionsList() actionList.AddURI(url) annot.Actions(PDFXEdit.PXC_TriggerType.Trigger_Up) = actionList Assigning the CreateActionList() to the Actions...
by EricAriens
Mon Jul 04, 2016 11:43 am
Forum: PDF-XChange Editor SDK
Topic: Useful resources developer builds SOLVED
Replies: 3
Views: 379

Re: Useful resources developer builds SOLVED

Ok,

Regards
Eric
by EricAriens
Mon Jul 04, 2016 11:37 am
Forum: PDF-XChange Editor SDK
Topic: annotation set_actions in vb.Net
Replies: 4
Views: 446

Re: annotation set_actions in vb.Net

Hi,

The same goes for method set_Border() on IPXC_AnnotData_Link

Regards
Eric
by EricAriens
Mon Jul 04, 2016 10:58 am
Forum: PDF-XChange Editor SDK
Topic: open with preview
Replies: 11
Views: 722

Re: open with preview

Hi,

Ok

Regards
Eric
by EricAriens
Mon Jul 04, 2016 10:55 am
Forum: PDF-XChange Editor SDK
Topic: Useful resources developer builds SOLVED
Replies: 3
Views: 379

Useful resources developer builds SOLVED

Hi,

In the topic Useful Resources there are two links to developer builds. Is it possible to add a builddate and or build number to the name. Then I can see if it is useful to retest the build.

Regards
Eric
by EricAriens
Mon Jul 04, 2016 10:49 am
Forum: PDF-XChange Editor SDK
Topic: annotation set_actions in vb.Net
Replies: 4
Views: 446

annotation set_actions in vb.Net

Hi, I got some example code from you guys in c#. No problem with it. Now I want to translate the code to vb.Net and one method does not exists int vb.Net(method set_Actions(). This is the code I got from you: //Filling the annotation with needed text PDFXEdit.IPXC_ActionsList AL = pdfCtl.Doc.CoreDoc...
by EricAriens
Mon Jul 04, 2016 10:38 am
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

Re: detecting select text tool finished

Hi,

I want to add an url to the link(type PXC_TriggerType.Trigger_Up), set the border to underline and set the color

Regards
Eric
by EricAriens
Mon Jul 04, 2016 8:19 am
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

Re: detecting select text tool finished

Hi,

When I use the addLink command the user has to do some actions. Can I automate that also?

Regards
Eric
by EricAriens
Mon Jul 04, 2016 7:10 am
Forum: PDF-XChange Editor SDK
Topic: open with preview
Replies: 11
Views: 722

Re: open with preview

Hi,

I do not mean the preview in Explorer or Outlook. In the image I attached in the first post in this thread you see a preview window when using the open dialog of the control.
Is that still possible with the current release?

Regards
Eric
by EricAriens
Thu Jun 30, 2016 2:01 pm
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

Re: detecting select text tool finished

Hi,

Thanks. I think I can this to work.

Regards
Eric
by EricAriens
Thu Jun 30, 2016 1:49 pm
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

Re: detecting select text tool finished

Hi,

By addLink you mean InsertNewAnnot or some other method?
On what should I add the link. On pageTextSel?

Regards
Eric
by EricAriens
Thu Jun 30, 2016 1:26 pm
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

Re: detecting select text tool finished

Hi, I did some testing in the full demo and found something interesting. When I select a test with the SelectTextTool and opening the context menu I can create a link on the selected text. This is what I want but then automated. Selecting the text an then automatically adding a link to the selected ...
by EricAriens
Thu Jun 30, 2016 12:22 pm
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

Re: detecting select text tool finished

Hi, Possible. I ask so many questions sometimes I mix things up. Sorry for that. I copied your code into the FullDemo. What is is supposed to do. When I start a text selection the event fires. docSel and pts are local so they will be destroyed as the event handler closes. How can I get the selected ...
by EricAriens
Thu Jun 30, 2016 11:37 am
Forum: PDF-XChange Editor SDK
Topic: detecting select text tool finished
Replies: 15
Views: 1022

detecting select text tool finished

Hi,

I want to detect when finished with the Select Text Tool.
I want to do use the data to create a link with InsertNewAnnot
I have checked the evenlist but could not find the appropriate event.

Regards
Eric
by EricAriens
Thu Jun 30, 2016 8:57 am
Forum: PDF-XChange Editor SDK
Topic: open with preview
Replies: 11
Views: 722

Re: open with preview

Hi, I have the end user version installed on my computer. I have preview in outlook so the preview works. I do not have the preview windows when using the method OpenDocWithDlg. Not in my application but also not in the full demo. Am I using the the wrong method? If so what method do I have to use? ...
by EricAriens
Thu Jun 30, 2016 4:56 am
Forum: PDF-XChange Editor SDK
Topic: double click to open file
Replies: 11
Views: 863

double click to open file

Hi, In previous versions and also in the end user version you have the possibility to double click on the empty control to open a pdf. The text explaining this is also visible. How do I activate this? The control has a text property but is has the next text to it. This property is not relevant for t...
by EricAriens
Tue Jun 28, 2016 9:54 am
Forum: PDF-XChange Editor SDK
Topic: register entry for stamp palette
Replies: 1
Views: 286

register entry for stamp palette

Hi, On a test machine the stamp palette seems to be frozen. I want to do some more testing to see if I can reproduce the bug. Now, when the application starts, the stamp palette is visible. It is loaded when the application reads its settings from the registry. I do not want the palette to reappear ...
by EricAriens
Mon Jun 27, 2016 12:59 pm
Forum: PDF-XChange Drivers API SDK
Topic: Driver API online manual link broken
Replies: 3
Views: 1130

Driver API online manual link broken

Hi,

I installed the PDFX6API. Now I want to read the documentation as provided in the APIHelp directory.
The link to the online manual is broken. Can you give me the correct link or fix the link?

This is the link:
http://help.tracker-software.com/develo ... ory:Driver

Regards
Eric