Search found 150 matches

by jusWest
Wed May 04, 2022 6:10 am
Forum: PDF-XChange Editor SDK
Topic: Detect active tool SOLVED
Replies: 3
Views: 738

Re: Detect active tool SOLVED

Thank you :)
by jusWest
Tue May 03, 2022 9:34 am
Forum: PDF-XChange Editor SDK
Topic: Detect active tool SOLVED
Replies: 3
Views: 738

Detect active tool SOLVED

Hello!

Is there any way, in code, to detect which of the edit tools is active ?

/ronny
by jusWest
Mon Apr 11, 2022 6:51 am
Forum: PDF-XChange Editor SDK
Topic: prevent drop in bookmarksview
Replies: 3
Views: 603

Re: prevent drop in bookmarksview

Thanks, that disables drag/drop, but unfortunately it also disables internal drag/drop :(
by jusWest
Fri Apr 08, 2022 12:51 pm
Forum: PDF-XChange Editor SDK
Topic: prevent drop in bookmarksview
Replies: 3
Views: 603

prevent drop in bookmarksview

Hello!

Could not find an answer searching for this.

We want to disable the possibility to drag an external doc/pdf into the bookmarks panel.

we have set allowdrop to false for the editorcontrol, but that does not prevent dropping files
into the bookmarksview.

Any way to achive this?

/Ronny
by jusWest
Tue Feb 01, 2022 7:01 am
Forum: PDF-XChange Editor SDK
Topic: splitting pdf files
Replies: 3
Views: 781

Re: splitting pdf files

I can only reproduce with certain legal documents, and I have none that I can share because of legal issues. I use the 64 bit version of the library, when I try this on a 32 bit project it goes much faster, but on a couple of my test files it then crashes in this function with a unknown error. Memor...
by jusWest
Fri Jan 28, 2022 2:25 pm
Forum: PDF-XChange Editor SDK
Topic: splitting pdf files
Replies: 3
Views: 781

splitting pdf files

What is the considered the best way to split large documents into smaller files in pdfxchange sdk? Today we use op.document.extractPages for this, sending in a range of pages to send to the target pdf. On very large files, like 1.5 GB, with a lot of images, this can take a long time. Other sdk's I h...
by jusWest
Fri Dec 10, 2021 9:39 am
Forum: PDF-XChange Editor SDK
Topic: Convert Word to PDF SOLVED
Replies: 4
Views: 1375

Re: Convert Word to PDF SOLVED

Hi jusWest, You need to have MS Office Word installed. If you need an IPXV document use CreateOpenDocParams and NativeOnly = false If you need an IPXC document use op.openDoc IOperation with NativeOnly = false You can also set some options: https://forum.pdf-xchange.com/viewtopic.php?f=66&t=354...
by jusWest
Thu Dec 09, 2021 11:24 am
Forum: PDF-XChange Editor SDK
Topic: Convert Word to PDF SOLVED
Replies: 4
Views: 1375

Convert Word to PDF SOLVED

Hello!

I thought I read somewhere that pdfexchange editor/sdk has the possibility to convert a word document to a pdf file.

But I can not find any clear info on that. Is it possible? And how to do it using the SDK?

Regards
Ronny
by jusWest
Fri Aug 27, 2021 6:45 am
Forum: PDF-XChange Editor SDK
Topic: ShowMsgBox and html
Replies: 3
Views: 889

Re: ShowMsgBox and html

ok, thank you zarkogajic
by jusWest
Thu Aug 26, 2021 12:56 pm
Forum: PDF-XChange Editor SDK
Topic: ShowMsgBox and html
Replies: 3
Views: 889

ShowMsgBox and html

I use something like this to create customized message boxes for our application: int flags = (int)(UIX_MsgBoxStyleFlags.UIX_MsgBox_IconError | UIX_MsgBoxStyleFlags.UIX_MsgBox_YesCancel | UIX_MsgBoxStyleFlags.UIX_MsgBox_NoWndClose | UIX_MsgBoxStyleFlags.UIX_MsgBox_AppModal); var message = "blab...
by jusWest
Fri Aug 13, 2021 11:35 am
Forum: PDF-XChange Editor SDK
Topic: is bookmark selected SOLVED
Replies: 2
Views: 1155

Re: is bookmark selected SOLVED

never mind, I use "selection.bookmarks"
by jusWest
Fri Aug 13, 2021 10:30 am
Forum: PDF-XChange Editor SDK
Topic: is bookmark selected SOLVED
Replies: 2
Views: 1155

is bookmark selected SOLVED

Hello! maybee this has been ansvered somehwhere, but I could not find it. I need to deteact when a bookmark is selected like this: bookmark-selected.PNG and when a bookmark is NOT selected, like this: bookmark-notselected.PNG I need this to activate/deactivate some functionality elsewhere. /Ronny
by jusWest
Thu Jul 08, 2021 5:54 am
Forum: PDF-XChange Editor SDK
Topic: e_annots_changed
Replies: 5
Views: 1964

Re: e_annots_changed

doh :roll:

thank you :P
by jusWest
Wed Jul 07, 2021 1:06 pm
Forum: PDF-XChange Editor SDK
Topic: e_annots_changed
Replies: 5
Views: 1964

Re: e_annots_changed

the event op_annots_setState does not fire when i click that checkbox, neither if I try to change/add or delete an annot.
by jusWest
Tue Jul 06, 2021 6:45 am
Forum: PDF-XChange Editor SDK
Topic: e_annots_changed
Replies: 5
Views: 1964

e_annots_changed

Hello! Clicking this checkbox: checkbox.PNG Always triggers the e_annots_changed event. And in that event I set a flag indicating if an annot has changed. In our app, we do not want the checkbox to indicate to the app that an annot has changed. So is there a way i can detect that checkbox change so ...
by jusWest
Tue Jun 29, 2021 9:04 am
Forum: PDF-XChange Editor SDK
Topic: Late binding with pdfxchange sdk
Replies: 6
Views: 2404

Re: Late binding with pdfxchange sdk

Thank you, dont know how I missed that one :D
by jusWest
Tue Jun 29, 2021 8:55 am
Forum: PDF-XChange Editor SDK
Topic: Late binding with pdfxchange sdk
Replies: 6
Views: 2404

Re: Late binding with pdfxchange sdk

Yes, the need to load the dll dynamically, without registering it first is what I need
by jusWest
Tue Jun 29, 2021 7:50 am
Forum: PDF-XChange Editor SDK
Topic: Late binding with pdfxchange sdk
Replies: 6
Views: 2404

Late binding with pdfxchange sdk

hello! This might be not entirely related to the SDK. But more like a general question to se if anyone have done this. I was wondering if any of you av initialized the SDK via late binding in c#? I must admit, for our application I havent considered using it, but a situation has come up so that we m...
by jusWest
Fri May 07, 2021 1:27 pm
Forum: PDF-XChange Editor SDK
Topic: Text highlight annotations
Replies: 4
Views: 1292

Re: Text highlight annotations

:oops: :P :D

This has not been my best week has it :lol: :lol:

Thanks guys, and have a good weekend.
by jusWest
Fri May 07, 2021 12:28 pm
Forum: PDF-XChange Editor SDK
Topic: Text highlight annotations
Replies: 4
Views: 1292

Text highlight annotations

Hello! I am trying to catch most anotations by scanning the document for them. I am catching theese for now based on the IPXC_AnnotData_xxx I found in the docs uint nTextBox = pSInt.StrToAtom("FreeText"); uint nCaret = pSInt.StrToAtom("Caret"); uint nLine = pSInt.StrToAtom("...
by jusWest
Wed May 05, 2021 10:59 am
Forum: PDF-XChange Editor SDK
Topic: Refrase: Is this correct? SOLVED
Replies: 9
Views: 2581

Re: Refrase: Is this correct? SOLVED

Hi JustWest, You are sending "nText" to "newAnnot = AddAnnotLine(dAnnot, pPage, nText );" while you want to send "nLine" value. -žarko :oops: :oops: :oops: Thank you zarkogajic, I have been staring myself blind at this. It goes to show that an extra pair of eyes often ...
by jusWest
Wed May 05, 2021 7:18 am
Forum: PDF-XChange Editor SDK
Topic: Refrase: Is this correct? SOLVED
Replies: 9
Views: 2581

Re: Refrase: Is this correct? SOLVED

I think so, this is basically how I do it: IPXS_Inst pSInt = (IPXS_Inst)_Inst.GetExtension("PXS"); uint nTextBox = pSInt.StrToAtom("FreeText"); uint nCaret = pSInt.StrToAtom("Caret"); uint nLine = pSInt.StrToAtom("Line"); uint nMarkup = pSInt.StrToAtom("M...
by jusWest
Wed May 05, 2021 6:18 am
Forum: PDF-XChange Editor SDK
Topic: Refrase: Is this correct? SOLVED
Replies: 9
Views: 2581

Re: Refrase: Is this correct? SOLVED

Hello jusWest, Have you checked this sample project? Cheers, Alex Yes I partially got my code from there, and the only difference I can see is: IPXC_AnnotData_Line aData = annot.Data as IPXC_AnnotData_Line; With the use of "as" instead of a cast. But when I use that, it fail on the next l...
by jusWest
Sun May 02, 2021 6:57 pm
Forum: PDF-XChange Editor SDK
Topic: Refrase: Is this correct? SOLVED
Replies: 9
Views: 2581

Refrase: Is this correct? SOLVED

Ok! Since no one seems to want to touch this. Lets refrase...: Is this the correct way of adding a Line annotation from code? (Its based on the docs and other code found) public IPXC_Annotation AddAnnotLine(AppAnnot dAnnot, IPXC_Page page, uint nText) { PXC_Point startPoint = new PXC_Point(); startP...
by jusWest
Fri Apr 30, 2021 1:45 pm
Forum: PDF-XChange Editor SDK
Topic: Refrase: Is this correct? SOLVED
Replies: 9
Views: 2581

Refrase: Is this correct? SOLVED

Just upgraded the sdk to the latest version (9.0.354) Most things seems to work, but i get an with this code: IPXC_Annotation annot = page.InsertNewAnnot(nText, ref rcPage); // error comes here IPXC_AnnotData_Line aData = (IPXC_AnnotData_Line)annot.Data; the error is: {"Unable to cast COM objec...
by jusWest
Thu Apr 22, 2021 6:43 am
Forum: PDF-XChange Editor SDK
Topic: Export a specific annot
Replies: 29
Views: 4697

Re: Export a specific annot

lidds wrote: Wed Apr 21, 2021 9:17 pm I notice build 353 SDK has been released.

Is it possible to give an example code of how to export individual annots?

Thanks

Simon
+1 :D
by jusWest
Thu Apr 22, 2021 5:50 am
Forum: PDF-XChange Editor SDK
Topic: redact search result
Replies: 5
Views: 998

Re: redact search result

Sasha - Tracker Dev Team wrote: Wed Apr 21, 2021 2:25 pm Hello jusWest,

Does this only happen when you use the SDK, or you can recreate this manually via the End-User Editor?

Cheers,
Alex
This happens in the end user editor as well as when using the SDK, but not for all pdf files strangely enough.
by jusWest
Wed Apr 21, 2021 1:52 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.document.findAndRedact
Replies: 3
Views: 799

Re: cmd.document.findAndRedact

no, that is not the same, we use cmd.addAnnotsBySearchResult.redaction in that other case, and then
cmd.document.applyRedactions.

Here we are talking about this functionality:
redact.PNG
by jusWest
Wed Apr 21, 2021 1:47 pm
Forum: PDF-XChange Editor SDK
Topic: redact search result
Replies: 5
Views: 998

Re: redact search result

this I know this. This problem is thaat after cmd.document.applyRedactions has been called, the text is still searchable
by jusWest
Wed Apr 21, 2021 9:03 am
Forum: PDF-XChange Editor SDK
Topic: redact search result
Replies: 5
Views: 998

redact search result

Hi! In our app, we use the function for redacting a search result, this works good and the search result get redacted. BUT, even after redacting a search result, some of this redacted words turn up as results in the search pane when we search for the same word again. If we click the element in the s...
by jusWest
Wed Apr 21, 2021 8:16 am
Forum: PDF-XChange Editor SDK
Topic: cmd.document.findAndRedact
Replies: 3
Views: 799

cmd.document.findAndRedact

cmd.document.findAndRedact

Is this command available in the SDK?
by jusWest
Mon Apr 19, 2021 8:15 am
Forum: PDF-XChange Editor SDK
Topic: Export a specific annot
Replies: 29
Views: 4697

Re: Export a specific annot

ahh, great timing, as we are in severe need for this functionality :)
by jusWest
Mon Apr 19, 2021 8:04 am
Forum: PDF-XChange Editor SDK
Topic: Export a specific annot
Replies: 29
Views: 4697

Re: Export a specific annot

is this released yet? Or do you have an estimate to when it will be?
by jusWest
Fri Apr 16, 2021 12:34 pm
Forum: PDF-XChange Editor SDK
Topic: exportCommentsAndFields
Replies: 7
Views: 1204

Re: exportCommentsAndFields

ok, thank you :)
by jusWest
Fri Apr 16, 2021 11:37 am
Forum: PDF-XChange Editor SDK
Topic: exportCommentsAndFields
Replies: 7
Views: 1204

Re: exportCommentsAndFields

thanks.

In the options there are the following options:

Code: Select all

1	Markup annotations.
2	Link annotations.
4	Widget annotations.
-1	All of the annotation types.

which would be the attachements?
by jusWest
Fri Apr 16, 2021 11:27 am
Forum: PDF-XChange Editor SDK
Topic: exportCommentsAndFields
Replies: 7
Views: 1204

Re: exportCommentsAndFields

Hello jusWest, There is no way of skipping attachments directly from the operation. However, you can make a copy of the document in memory, remove all of the attachment annotations and then do the export operation. Cheers, Alex hmm, interresting is there an operation for removing the attachements f...
by jusWest
Fri Apr 16, 2021 10:45 am
Forum: PDF-XChange Editor SDK
Topic: exportCommentsAndFields
Replies: 7
Views: 1204

exportCommentsAndFields

Hello! We have a problem when exporting annotations to a FDF file like this: //export to file var op = _Inst.CreateOp(_Inst.Str2ID("op.document.exportCommentsAndFields", false)); op.Params.Root["Input"].v = _Inst.ActiveDoc; ICabNode cabNode = op.Params.Root["Options"]; ...
by jusWest
Tue Mar 23, 2021 2:37 pm
Forum: PDF-XChange Editor SDK
Topic: translation after upgrade
Replies: 6
Views: 988

Re: translation after upgrade

Hello jusWest, On that same page I shared above there is a localization tool: https://www.pdf-xchange.com/pdfxeditorlocalizer301.zip You can download that, and when you load the translations already included - any entries on the left that are in bold mean that there are some strings not translated,...
by jusWest
Tue Mar 23, 2021 1:16 pm
Forum: PDF-XChange Editor SDK
Topic: translation after upgrade
Replies: 6
Views: 988

Re: translation after upgrade

ahh, ok, do you have the original english files, so I can compare whats missing in the swedish files?
by jusWest
Tue Mar 23, 2021 12:38 pm
Forum: PDF-XChange Editor SDK
Topic: translation after upgrade
Replies: 6
Views: 988

translation after upgrade

Hello!

After upgrading to the latest sdk, some new untranslated strings appeared in the print dialog:
print-untranslated.PNG
print-untranslated.PNG (8.5 KiB) Viewed 988 times

I cant seem to find them in the translation files, and switching between languages still shows these in english...

Where can I find them?

/Ronny
by jusWest
Mon Mar 22, 2021 8:43 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

Hello jusWest, Also, can you please try doing that with the latest version of the SDK? Cheers, Alex I can try that yes :) AAAND of course that works in the testproject :shock: I have delayed the upgrade because our main project is quite large, but now it seems I have to bite the bullet :)
by jusWest
Mon Mar 22, 2021 8:21 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

Sasha - Tracker Dev Team wrote: Mon Mar 22, 2021 7:52 am Hello jusWest,

Also, can you please try doing that with the latest version of the SDK?

Cheers,
Alex
I can try that yes :)
by jusWest
Mon Mar 22, 2021 8:20 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

Hello jusWest, Yup, everything worked for me. Please doublecheck whether you are opening a document that contains several bookmarks and several pages and that you have the rights to do that operation. Cheers, Alex Weird, I have all rights on the dokuments I test with, and can do all other changes t...
by jusWest
Mon Mar 22, 2021 6:54 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

Sasha - Tracker Dev Team wrote: Fri Mar 19, 2021 8:33 am Hello jusWest,

Of course - that would be the best action. Note that you should not include any dev keys there.

Cheers,
Alex
Did you get a chance to look at it?

/Ronny
by jusWest
Fri Mar 19, 2021 9:00 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

Sasha - Tracker Dev Team wrote: Fri Mar 19, 2021 8:33 am Hello jusWest,

Of course - that would be the best action. Note that you should not include any dev keys there.

Cheers,
Alex
Thank you, attached is a testproject that has this behaviour.

Keep in mind, this is SDK version: 8.0.343.0
TestSDKUpgrade.zip
(16.33 KiB) Downloaded 61 times
Regards
Ronny
by jusWest
Fri Mar 19, 2021 7:02 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

Can I send a test project so you can see if I do things correctly?
by jusWest
Thu Mar 18, 2021 1:58 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

I also tried it this way, same result: PXV_Inst Inst = new PXV_Inst(); Inst.Init(null, licKey); Inst.StartLoadingPlugins(); var pluginsPathX86 = AppDomain.CurrentDomain.BaseDirectory + @"Plugins.x86\"; Inst.AddPluginFromFile(pluginsPathX86 + "Bookmarks.pvp"); Inst.FinishLoadingPl...
by jusWest
Thu Mar 18, 2021 1:39 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

Yes I think so: InitializeComponent(); pdfCtl.SetLicKey(licKey); pdfCtl.Inst.Settings["General.AppTitle"].v = "TestSDK "; pdfCtl.Inst.Settings["Commenting.ShowTooltips"].v = false; pdfCtl.Inst.Settings["Misc.ShowMsgNoOfficeLicense"].v = false; pdfCtl.Inst.Star...
by jusWest
Thu Mar 18, 2021 12:50 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

Re: cmd.bp.sortPagesByBookmarks SOLVED

I upgraded the sdk to 8.0.343, but still only a pling when I try to run the command
by jusWest
Thu Mar 18, 2021 10:38 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bp.sortPagesByBookmarks SOLVED
Replies: 14
Views: 2254

cmd.bp.sortPagesByBookmarks SOLVED

Hello! I am trying to run the command cmd.bp.sortPagesByBookmarks , to sort pages based on the order of the bookmarks. I'm running it like this from code: var cmd = uiInst.CmdManager.Cmds.Find("cmd.bp.sortPagesByBookmarks"); if (cmd == null) return false; _Inst.ExecUICmd2(cmd.ID); but all ...