Search found 5522 matches
- Wed Jul 06, 2016 3:11 pm
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
Re: detecting select text tool finished
Hello Eric, Sadly, but you will need to place the annotations manually. Below, there is a sample on how to correctly run through the selected text: private void getTextSelectionToolStripMenuItem_Click(object sender, EventArgs e) { int nSel = pdfCtl.Inst.Str2ID("selection.text"); PDFXEdit.I...
- Wed Jul 06, 2016 2:51 pm
- Forum: PDF-XChange Editor SDK
- Topic: Flatten Comments SOLVED
- Replies: 20
- Views: 4732
Re: Flatten Comments SOLVED
Hello Jeff,
Sadly no - it should be out soon but no specific date is available yet.
Cheers,
Alex
Sadly no - it should be out soon but no specific date is available yet.
Cheers,
Alex
- Wed Jul 06, 2016 2:41 pm
- Forum: PDF-XChange Editor SDK
- Topic: Flatten Comments SOLVED
- Replies: 20
- Views: 4732
Re: Flatten Comments SOLVED
Hello Jeff,
The IPXC_Document::FlattenAnnotations method will be available from the next build. Meanwhile you can try the latest dev. build - this method will be included in it.
https://forum.pdf-xchange.com/ ... 66&t=25943
Cheers,
Alex
The IPXC_Document::FlattenAnnotations method will be available from the next build. Meanwhile you can try the latest dev. build - this method will be included in it.
https://forum.pdf-xchange.com/ ... 66&t=25943
Cheers,
Alex
- Wed Jul 06, 2016 9:53 am
- Forum: PDF-XChange Editor SDK
- Topic: Conversion List
- Replies: 3
- Views: 1798
Re: Conversion List
Hello DolphinMann, Well I've searched for the word "Convert" in our help wiki tree and I have found this: https://sdkhelp.pdf-xchange.com/view/PXV:IPXV_Inst_ImportConverter https://sdkhelp.pdf-xchange.com/view/PXV:IPXV_Inst_ImportConvertersCount And also this interface that has Name proper...
- Wed Jul 06, 2016 8:57 am
- Forum: PDF-XChange Editor SDK
- Topic: Opening documents in read-only using Open dialog
- Replies: 13
- Views: 4096
Re: Opening documents in read-only using Open dialog
Hello Eric,
Glad you had your problem solved
Glad you had your problem solved
- Wed Jul 06, 2016 7:56 am
- Forum: PDF-XChange Core API SDK
- Topic: Error decoding? SOLVED
- Replies: 3
- Views: 2758
Re: Error decoding? SOLVED
Hello omascia,
You can use this method to replace the old methods:
https://sdkhelp.pdf-xchange.com/vie ... matHRESULT
Cheers,
Alex
You can use this method to replace the old methods:
https://sdkhelp.pdf-xchange.com/vie ... matHRESULT
Cheers,
Alex
- Tue Jul 05, 2016 2:08 pm
- Forum: PDF-XChange Core API SDK
- Topic: IPXS_PDFVariant
- Replies: 9
- Views: 3941
Re: IPXS_PDFVariant
Hello omascia,
Well if that's the case, I am glad that we helped.
Cheers,
Alex
Well if that's the case, I am glad that we helped.
Cheers,
Alex
- Tue Jul 05, 2016 2:08 pm
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
Re: detecting select text tool finished
Hello Eric,
Do you need to hardcode the link or just show the "Add URI Action" dialog?
Cheers,
Alex
Do you need to hardcode the link or just show the "Add URI Action" dialog?
Cheers,
Alex
- Tue Jul 05, 2016 2:01 pm
- Forum: PDF-XChange Editor SDK
- Topic: Change pane name
- Replies: 5
- Views: 1530
Re: Change pane name
Hello Eric,
Hmm, if that's the case then the translation should be updated. If you could name the needed commands and provide the correct translation then we could update that for the next release. Thanks.
Hmm, if that's the case then the translation should be updated. If you could name the needed commands and provide the correct translation then we could update that for the next release. Thanks.
- Tue Jul 05, 2016 9:46 am
- Forum: PDF-XChange Core API SDK
- Topic: IPXS_PDFVariant
- Replies: 9
- Views: 3941
Re: IPXS_PDFVariant
Hello omascia, Well if you do that manually than that data can be removed by some PDF viewers when saving the document because that's not a documented way of doing that. Though if you really want to do that, then the https://sdkhelp.pdf-xchange.com/view/PXV:IPXS_Inst has the NewVar_ methods that can...
- Tue Jul 05, 2016 7:18 am
- Forum: PDF-XChange Core API SDK
- Topic: Getting the width of a string?
- Replies: 1
- Views: 1695
Re: Getting the width of a string?
Hello omascia, The equivalent is the CalcTextSize method: https://sdkhelp.pdf-xchange.com/view/PXV:IPXC_ContentCreator_CalcTextSize Though there is much more versatile method: https://sdkhelp.pdf-xchange.com/view/PXV:IPXC_ContentCreator_ShowTextBlock Don't forget to initialize the content creator: P...
- Tue Jul 05, 2016 6:10 am
- Forum: PDF-XChange Core API SDK
- Topic: When is the right time to get IPXC_ContentCreator?
- Replies: 1
- Views: 1394
Re: When is the right time to get IPXC_ContentCreator?
Hello omascia,
The best way to use the Content Creator would be to create it for each page. Because creating it once and resetting it would not be efficient enough and will make the code a little heavier.
Cheers,
Alex
The best way to use the Content Creator would be to create it for each page. Because creating it once and resetting it would not be efficient enough and will make the code a little heavier.
Cheers,
Alex
- Mon Jul 04, 2016 1:59 pm
- Forum: PDF-XChange Core API SDK
- Topic: Get full text from PDF
- Replies: 13
- Views: 4993
Re: Get full text from PDF
Hello Tom, The correct way of using the IPXC_PageText in your case would be to read each character separately: https://sdkhelp.pdf-xchange.com/view/PXV:IPXC_PageText_Char And then look for the TFC_LineBegin char flag for the correct new line monitoring: https://sdkhelp.pdf-xchange.com/view/PXV:IPXC_...
- Mon Jul 04, 2016 1:48 pm
- Forum: PDF-XChange Editor SDK
- Topic: annotation set_actions in vb.Net
- Replies: 4
- Views: 1585
Re: annotation set_actions in vb.Net
Hello Eric,
This behavior occurs because you're assigning an empty list.
Cheers,
Alex
This behavior occurs because you're assigning an empty list.
Cheers,
Alex
- Mon Jul 04, 2016 12:47 pm
- Forum: PDF-XChange Core API SDK
- Topic: PXC_SetStrokeGray / PXC_SetFillGray
- Replies: 1
- Views: 1449
Re: PXC_SetStrokeGray / PXC_SetFillGray
Hello omascia,
If you need to transform the document to grayscale, I think this thread can help you:
https://forum.pdf-xchange.com/ ... 67&t=25728
Cheers,
Alex
If you need to transform the document to grayscale, I think this thread can help you:
https://forum.pdf-xchange.com/ ... 67&t=25728
Cheers,
Alex
- Mon Jul 04, 2016 12:45 pm
- Forum: PDF-XChange Core API SDK
- Topic: IPXS_PDFVariant
- Replies: 9
- Views: 3941
Re: IPXS_PDFVariant
Hello omascia,
As far as I see it would be correct to use https://sdkhelp.pdf-xchange.com/vie ... fo_InfoStr for this.
Here you can look at the small sample on how to use it:
https://sdkhelp.pdf-xchange.com/vie ... ument_Info
Cheers,
Alex
As far as I see it would be correct to use https://sdkhelp.pdf-xchange.com/vie ... fo_InfoStr for this.
Here you can look at the small sample on how to use it:
https://sdkhelp.pdf-xchange.com/vie ... ument_Info
Cheers,
Alex
- Mon Jul 04, 2016 12:42 pm
- Forum: PDF-XChange Core API SDK
- Topic: Any "Release Notes" document for migration from 5.x to 6.0?
- Replies: 4
- Views: 2282
Re: Any "Release Notes" document for migration from 5.x to 6
Hello omascia, 1) The only setback with the new API that you will have to rewrite all of your C code. Though that is the only setback. What you gain is more flexible, logical and combined environment comparing with the old SDK. 2) The documentation is being written on the go, because it requires cer...
- Mon Jul 04, 2016 11:44 am
- Forum: PDF-XChange Editor SDK
- Topic: Useful resources developer builds SOLVED
- Replies: 3
- Views: 1765
- Mon Jul 04, 2016 11:43 am
- Forum: PDF-XChange Editor SDK
- Topic: annotation set_actions in vb.Net
- Replies: 4
- Views: 1585
Re: annotation set_actions in vb.Net
Hello Eric, The problem is how the C# interprets our dll's interfaces' properties when you add it as a reference to the project. Judging from your tests, the vb.net and C# declaration sometimes can differ. That is a known problem and what you've written should be correct if it compiles and works. Ch...
- Mon Jul 04, 2016 9:06 am
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
Re: detecting select text tool finished
Hello Eric,
What action exactly do you need to put into the link's actions list?
What action exactly do you need to put into the link's actions list?
- Mon Jul 04, 2016 7:40 am
- Forum: PDF-XChange Editor SDK
- Topic: open with preview
- Replies: 11
- Views: 2630
Re: open with preview
Hello Eric,
The problem is that the PDF-XChange Viewer only supported PDF format in the open dialog. Thus the custom preview was made because it was possible. The Editor can open multiple file formats, thus we can't possibly make preview of them all so we don't use this feature now.
Cheers,
Alex
The problem is that the PDF-XChange Viewer only supported PDF format in the open dialog. Thus the custom preview was made because it was possible. The Editor can open multiple file formats, thus we can't possibly make preview of them all so we don't use this feature now.
Cheers,
Alex
- Sat Jul 02, 2016 9:00 pm
- Forum: PDF-XChange Editor SDK
- Topic: IPXC_Document::DefaultCompression
- Replies: 9
- Views: 2012
Re: IPXC_Document::DefaultCompression
Hello Jeff,
Because of the additional features that we're adding the release was postponed for a little bit. Sadly, we do not know the precise date yet.
Cheers,
Alex
Because of the additional features that we're adding the release was postponed for a little bit. Sadly, we do not know the precise date yet.
Cheers,
Alex
- Fri Jul 01, 2016 12:06 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14511
- Fri Jul 01, 2016 11:48 am
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14511
Re: Core API SDK SOLVED
Hello Yury,
1) This should be already implemented in the 317.1 version.
2) The PXCp_OptimizeFonts and PXCp_OptimizeStreamCompression methods' analogy is not yet available.
Cheers,
Alex
1) This should be already implemented in the 317.1 version.
2) The PXCp_OptimizeFonts and PXCp_OptimizeStreamCompression methods' analogy is not yet available.
Cheers,
Alex
- Fri Jul 01, 2016 9:45 am
- Forum: PDF-XChange Editor SDK
- Topic: Some questions about annots
- Replies: 9
- Views: 2283
Re: Some questions about annots
Hello chrismas, I've updated the code - should work now: PDFXEdit.IPXV_InvalidatePagesInfo ipi = pxvDoc.CreateInvPagesInfo(); for (uint i = 0; i < annotLst.Count; i++) { PDFXEdit.IPXC_Annotation annot = annotLst[i]; if (annot != null) { PDFXEdit.IPXC_AnnotData data = annot.Data; float fR, fG, fB; PD...
- Fri Jul 01, 2016 8:42 am
- Forum: PDF-XChange Editor SDK
- Topic: PDF ifilter
- Replies: 5
- Views: 2100
Re: PDF ifilter
Hello DiveShallow,
Sadly, we do not plan to develop this in the nearest future.
Cheers,
Alex
Sadly, we do not plan to develop this in the nearest future.
Cheers,
Alex
- Fri Jul 01, 2016 7:39 am
- Forum: PDF-XChange Editor SDK
- Topic: Import Form Field Data
- Replies: 1
- Views: 830
Re: Import Form Field Data
Hello espens,
The import operation should be used:
https://sdkhelp.pdf-xchange.com/vie ... sAndFields
Cheers,
Alex
The import operation should be used:
https://sdkhelp.pdf-xchange.com/vie ... sAndFields
Cheers,
Alex
- Fri Jul 01, 2016 7:00 am
- Forum: PDF-XChange Editor SDK
- Topic: Search Pane hide some option
- Replies: 12
- Views: 3786
Re: Search Pane hide some option
Hello kinwind,
I've just tested that - indeed the tabs area is not loaded yet at that point of the program workflow. The e.document.viewingStarted event does the trick though.
Cheers,
Alex
I've just tested that - indeed the tabs area is not loaded yet at that point of the program workflow. The e.document.viewingStarted event does the trick though.
Cheers,
Alex
- Thu Jun 30, 2016 2:30 pm
- Forum: PDF-XChange Editor SDK
- Topic: open with preview
- Replies: 11
- Views: 2630
Re: open with preview
Hello Eric,
It's not our feature it's Window's or Outlook's. What I mean is this:
You can simply just show the preview pane by clicking the highlighted button.
Cheers,
Alex
It's not our feature it's Window's or Outlook's. What I mean is this:
You can simply just show the preview pane by clicking the highlighted button.
Cheers,
Alex
- Thu Jun 30, 2016 2:11 pm
- Forum: PDF-XChange Editor SDK
- Topic: Some questions about annots
- Replies: 9
- Views: 2283
Re: Some questions about annots
Hello chrismas, That's because you will need to tell the Pages View that you've changed the annotation on the Core Level. For that you will need to fire an appropriate event. Use this method to do that: https://sdkhelp.pdf-xchange.com/view/PXV:IPXV_Document_FireAnnotChangedEvent As for your second q...
- Thu Jun 30, 2016 2:02 pm
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
- Thu Jun 30, 2016 2:02 pm
- Forum: PDF-XChange Editor SDK
- Topic: Search Pane hide some option
- Replies: 12
- Views: 3786
Re: Search Pane hide some option
Hello kinwind, When you open the document, you'll need to remove the flag from the DocViewsArea panes layout: PDFXEdit.IUIX_Layout layout = pdfCtl.Inst.MainFrm[0].View.DocViewsArea.Panes.Layout; if (layout.Root.Count > 0) layout.Root[0].SetStyle(0, (int)PDFXEdit.UIX_LayoutItemStyleFlags.UIX_LayoutIt...
- Thu Jun 30, 2016 1:54 pm
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
Re: detecting select text tool finished
1. You started to select the text with the Select Text tool (you put up a bool flag for that if at least one symbol was selected). 2. You monitor the mouse up event for the Pages View. If the bool flag is set then it means that you've used the select text tool. Now you can execute the addLink comman...
- Thu Jun 30, 2016 1:32 pm
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
Re: detecting select text tool finished
Well you can follow the algorithm that I described before and just execute the addLink command to create the link over the selected text.
Cheers,
Alex
Cheers,
Alex
- Thu Jun 30, 2016 12:57 pm
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
Re: detecting select text tool finished
Well you can get a string of the text in the selection each time it changes: if (pts.IsEmpty == false) { PDFXEdit.IPXV_PageTextSelection pageTextSel = pts.GetSel(pdfCtl.CurrentPage); string sText = pageTextSel.GetPlainText(); } The selection itself can also be done by keyboard shortcuts - this metho...
- Thu Jun 30, 2016 11:56 am
- Forum: PDF-XChange Editor SDK
- Topic: detecting select text tool finished
- Replies: 20
- Views: 5351
Re: detecting select text tool finished
Hello Eric, The e.docSelection.changed should be used. I believe I posted this sample here not long ago: if (e.nEventID == nIDS[(int)IDS.e_docSelection_changed]) { PDFXEdit.IPXV_Document Doc = (PDFXEdit.IPXV_Document)e.pFrom; uint nLen = e.pEvent.Param2; var buffer = new int[nLen]; IntPtr ptr = new ...
- Thu Jun 30, 2016 7:39 am
- Forum: PDF-XChange Editor SDK
- Topic: double click to open file
- Replies: 11
- Views: 2865
Re: double click to open file
Hello Eric,
You will have to set this property in settings:
Cheers,
Alex
You will have to set this property in settings:
Code: Select all
pdfCtl.Inst.Settings["Docs.CanOpenByDblClk"].v = true;
pdfCtl.Inst.FireAppPrefsChanged(PDFXEdit.PXV_AppPrefsChanges.PXV_AppPrefsChange_Documents);
Alex
- Wed Jun 29, 2016 7:47 am
- Forum: PDF-XChange Core API SDK
- Topic: Find out if document is protected for modification
- Replies: 5
- Views: 2563
Re: Find out if document is protected for modification
Hello Tom, Well many enumeration values' names are self explanatory in many cases. Also these are taken for the PDF documentation. In this case the Perm_OperExport should be used as you are using the export pages feature (judging from your description). If you are using the Copy Pages feature then t...
- Tue Jun 28, 2016 2:53 pm
- Forum: PDF-XChange Editor SDK
- Topic: Context Menu Customization
- Replies: 1
- Views: 1627
Re: Context Menu Customization
Hello tembreull, You will need to listen to the e.beforeShowContextMenu event and then do something like in this sample: CComPtr<PXV::IPXV_Inst> pInst; .... LONG nNecessaryMenuID; pInst->Str2ID(CComBSTR(L"menu.tool.selectText"), &nNecessaryMenuID); .... CComPtr<PXV::IPXV_BeforeShowCont...
- Tue Jun 28, 2016 2:37 pm
- Forum: PDF-XChange Editor SDK
- Topic: Disable Context-Menu
- Replies: 7
- Views: 2119
Re: Disable Context-Menu
By applying the custom event handler to the Thumbnails View, that you can get from the Active View you can monitor the WM_MOUSEMOVE event. Then you'll need to do this to get to the inner IUIX_List: System.IntPtr p; pdfCtl.Doc.ActiveView.PageThumbsView.Obj.QueryImpl(typeof(PDFXEdit.IUIX_List).GUID, n...
- Tue Jun 28, 2016 2:29 pm
- Forum: PDF-XChange Editor SDK
- Topic: register entry for stamp palette
- Replies: 1
- Views: 838
Re: register entry for stamp palette
Hello Eric,
Use this with the stampsView ID:
https://sdkhelp.pdf-xchange.com/vie ... l_ShowPane
Cheers,
Alex
Use this with the stampsView ID:
https://sdkhelp.pdf-xchange.com/vie ... l_ShowPane
Cheers,
Alex
- Tue Jun 28, 2016 11:30 am
- Forum: PDF-XChange Editor SDK
- Topic: Some questions about annots
- Replies: 9
- Views: 2283
Re: Some questions about annots
Hello chrismas,
1) Please provide further explanation about the "not update to interface in time" part.
2) You can hide the needed command by changing the command's https://sdkhelp.pdf-xchange.com/vie ... Cmd_Hidden property.
Cheers,
Alex
1) Please provide further explanation about the "not update to interface in time" part.
2) You can hide the needed command by changing the command's https://sdkhelp.pdf-xchange.com/vie ... Cmd_Hidden property.
Cheers,
Alex
- Tue Jun 28, 2016 11:24 am
- Forum: PDF-XChange Editor SDK
- Topic: Disable Context-Menu
- Replies: 7
- Views: 2119
Re: Disable Context-Menu
Hello tembreull,
You will need the custom event handler for both of these objects. More detailed information can be found here:
https://forum.pdf-xchange.com/ ... 66&t=26075
Cheers,
Alex
You will need the custom event handler for both of these objects. More detailed information can be found here:
https://forum.pdf-xchange.com/ ... 66&t=26075
Cheers,
Alex
- Tue Jun 28, 2016 10:13 am
- Forum: PDF-XChange Core API SDK
- Topic: error COM cast
- Replies: 6
- Views: 3045
Re: error COM cast
The best thing to do would be provide a small working project sample that we can try and we'll advice you further.
Cheers,
Alex
Cheers,
Alex
- Tue Jun 28, 2016 9:51 am
- Forum: PDF-XChange Core API SDK
- Topic: error COM cast
- Replies: 6
- Views: 3045
Re: error COM cast
Please read this topic - there was a problem with Windows Server with Editor SDK - maybe it would lead you to solution:
https://forum.pdf-xchange.com/ ... 66&t=26088
Cheers,
Alex
https://forum.pdf-xchange.com/ ... 66&t=26088
Cheers,
Alex
- Tue Jun 28, 2016 9:41 am
- Forum: PDF-XChange Core API SDK
- Topic: error COM cast
- Replies: 6
- Views: 3045
Re: error COM cast
Hello Tom,
Please provide a code sample so that we can analyze it and advice to your problem.
Cheers,
Alex
Please provide a code sample so that we can analyze it and advice to your problem.
Cheers,
Alex
- Mon Jun 27, 2016 11:48 am
- Forum: PDF-XChange Editor SDK
- Topic: Dynamic Stamps
- Replies: 3
- Views: 1349
Re: Dynamic Stamps
Hello Eric and tembreull, Thanks for the code sample Eric. Right now, this idea will be an optimal way of solving this problem. As for the event: if (e.nEventID == nIDS[(int)IDS.e_annots_inserted]) { PDFXEdit.IPXV_Document Doc = (PDFXEdit.IPXV_Document)e.pFrom; PDFXEdit.IPXV_AnnotsEvent ae = (PDFXEd...
- Mon Jun 27, 2016 11:32 am
- Forum: PDF-XChange Editor SDK
- Topic: Disable Context-Menu
- Replies: 7
- Views: 2119
Re: Disable Context-Menu
Hello Eric,
Handling the WM_CONTEXTMENU will be enough. The WM_RBUTTONDOWN is not always the context menu - it can be an ordinary click that was not interpreted as a context menu call.
Cheers,
Alex
Handling the WM_CONTEXTMENU will be enough. The WM_RBUTTONDOWN is not always the context menu - it can be an ordinary click that was not interpreted as a context menu call.
Cheers,
Alex
- Mon Jun 27, 2016 7:19 am
- Forum: PDF-XChange Editor SDK
- Topic: control on windos server versions crashing
- Replies: 17
- Views: 4882
Re: control on windos server versions crashing
Hello Eric,
That's because these dlls are auto generated by C# compiler when you add the Editor's ActiveX COM Component or the Editor's dll to the project references.
Cheers,
Alex
That's because these dlls are auto generated by C# compiler when you add the Editor's ActiveX COM Component or the Editor's dll to the project references.
Cheers,
Alex
- Mon Jun 27, 2016 7:16 am
- Forum: PDF-XChange Editor SDK
- Topic: IPXC_Document::DefaultCompression
- Replies: 9
- Views: 2012
Re: IPXC_Document::DefaultCompression
Hello Jeff,
You only need to set the desired compression options once and those settings will be used when adding images.
Cheers,
Alex
You only need to set the desired compression options once and those settings will be used when adding images.
Cheers,
Alex