Search found 34 matches

by coblejesse
Mon May 18, 2020 5:33 pm
Forum: PDF-XChange Editor SDK
Topic: Adding Comments And Markup Tools Menu to custom Bar
Replies: 3
Views: 833

Re: Adding Comments And Markup Tools Menu to custom Bar

Thanks Alex. I have this figured out now. I'll leave the full code on getting the menu setup like I have in the previous screenshot. Hopefully this will help someone in the future. private void showDocViewToolbar() { PDFXEditor.Inst.LockCmdCustomizationEvent(); uiInst.CmdManager.LockAllPanesUpdates(...
by coblejesse
Fri May 15, 2020 6:17 pm
Forum: PDF-XChange Editor SDK
Topic: Adding Comments And Markup Tools Menu to custom Bar
Replies: 3
Views: 833

Adding Comments And Markup Tools Menu to custom Bar

Hi Alex, I am trying to add the Comments and Markup Tools Menu to a custom menu bar. I am able to move the cmd cmd.tools.markup to the custom bar, change the title, and add an icon, but the drop down does nothing if hovering over or clicking. Below is the code I'm using. var cusCmdBar = uiInst.Creat...
by coblejesse
Tue Nov 05, 2019 5:21 pm
Forum: PDF-XChange Editor SDK
Topic: Multiple instances of pdf editor with multiple custom PdfEditorCommandHandlers
Replies: 4
Views: 897

Re: Multiple instances of pdf editor with multiple custom PdfEditorCommandHandlers

Thanks very much for the information!

This helps so much:
"When the command is executed use IPXV_Inst's GetMainViewFromUIObj(pOwner, false) this will return the MainView. Compare this to the Frame.View of your pxvControls and you will know in what Control the cmd.save was executed."
by coblejesse
Mon Nov 04, 2019 3:22 pm
Forum: PDF-XChange Editor SDK
Topic: Multiple instances of pdf editor with multiple custom PdfEditorCommandHandlers
Replies: 4
Views: 897

Multiple instances of pdf editor with multiple custom PdfEditorCommandHandlers

Hi, I have multiple instances of the pdf editor control in different forms, and a custom PdfEditorCommandHandler for the cmd.save command. But it seems as though only the last PdfEditorCommandHandler instance gets called when hitting save in any open pdf editor control. So if I have two instances of...
by coblejesse
Tue Jun 25, 2019 11:38 pm
Forum: PDF-XChange Editor SDK
Topic: Multiple windows open with multiple tabs each having a PDFXEditor control
Replies: 1
Views: 548

Multiple windows open with multiple tabs each having a PDFXEditor control

Hi Alex, I have an issue where I have multiple windows open and each window has a couple tabs on it, and each tab has a PDFXEdit control. When I set the menu bars when opening the document, on one control, then open another screen, call the same customization to that menu bar, the first screen's men...
by coblejesse
Tue Jun 18, 2019 2:48 pm
Forum: PDF-XChange Editor SDK
Topic: Saving signature when pdf is loaded in memory and not from file
Replies: 1
Views: 609

Saving signature when pdf is loaded in memory and not from file

Hi Alex, We load our PDF's directly from our db into memory and then directly into the pdf editor sdk without first creating a file. Everything has been working great except signatures. It wants to save to a file on disk and will not allow me to save back to the file in memory. I've tried this code ...
by coblejesse
Mon Jun 10, 2019 8:08 pm
Forum: PDF-XChange Editor SDK
Topic: How to minimize the main toolbar
Replies: 6
Views: 1249

Re: How to minimize the main toolbar

Alex,

I don't see what I'm looking for in the demo anywhere. I'm guessing the CmdBars are surrounded by something and that's what I need to close. Can you please point me in the right direction?

Thanks
by coblejesse
Fri Jun 07, 2019 4:09 pm
Forum: PDF-XChange Editor SDK
Topic: Reset All (toolbar, menus, and comannds to default)
Replies: 1
Views: 573

Reset All (toolbar, menus, and comannds to default)

Hi Alex, For some reason the menu, toolbar, etc properties are being saved even after the control is disposed off, and show up in the next instance. And we have different configurations for different screens. How do I reset the menu, toolbar, and commands to default when initializing the control? I ...
by coblejesse
Thu Jun 06, 2019 2:09 pm
Forum: PDF-XChange Editor SDK
Topic: How to minimize the main toolbar
Replies: 6
Views: 1249

Re: How to minimize the main toolbar

Also, this is what it looks like without the cusCmdBar.Minimize();
2019-06-06 10_07_43-Window.png
(11.23 KiB) Not downloaded yet
by coblejesse
Thu Jun 06, 2019 1:58 pm
Forum: PDF-XChange Editor SDK
Topic: How to minimize the main toolbar
Replies: 6
Views: 1249

Re: How to minimize the main toolbar

I've tried the minimize method but it's making the whole CmdBar just disappear. Here is my code: public void ShowDocViewToolbar() { IsMainToolBarShowing = true; InitialHideMainMenus(); PDFXEdit.IUIX_Cmd cmd; ShowCmdBar(IDS.cmdbar_file, false); ShowCmdBar(IDS.cmdbar_menubar, true); ShowCmdBar(IDS.cmd...
by coblejesse
Tue Jun 04, 2019 5:51 pm
Forum: PDF-XChange Editor SDK
Topic: How to minimize the main toolbar
Replies: 6
Views: 1249

How to minimize the main toolbar

Hi Alex,

How do you minimize the main toolbar like in the attached pictures?

2019-06-04 13_47_21-Window.png
2019-06-04 13_47_59-Window.png
(11.5 KiB) Not downloaded yet
by coblejesse
Tue Jun 04, 2019 4:47 pm
Forum: PDF-XChange Editor SDK
Topic: e_formFields_changed event not called until field loses focus
Replies: 1
Views: 533

e_formFields_changed event not called until field loses focus

Hi Alex, The e_formFields_changed event is not getting called until the field loses focus. Is there a way to have this or another event called right when the field is being changed instead of on the lost focus? Also, when user adds an image to the image field, the e_formFields_changed event never ge...
by coblejesse
Mon Jun 03, 2019 3:53 pm
Forum: PDF-XChange Editor SDK
Topic: Identify image field type in looping through form fields
Replies: 8
Views: 1503

Re: Identify image field type in looping through form fields

Thanks Alex for the reply. So in case 1, after I have exported the comments to FDF, how would i go about getting rid of the annotations that were created in word? I see how I can do the rest of it, but this one step is where I'm hung up.
by coblejesse
Sat Jun 01, 2019 2:20 pm
Forum: PDF-XChange Editor SDK
Topic: Identify image field type in looping through form fields
Replies: 8
Views: 1503

Re: Identify image field type in looping through form fields

Thank you very much Alex! But for some reason I am having such a difficult time with this. I guess I don't understand fundamentally what this code is doing, and I can't find much info on it other than the interfaces properties/methods. Am I missing more documentation somewhere? I'd be happy to read ...
by coblejesse
Fri May 31, 2019 5:19 pm
Forum: PDF-XChange Editor SDK
Topic: Identify image field type in looping through form fields
Replies: 8
Views: 1503

Re: Identify image field type in looping through form fields

Hi Alex, Ok, I think I understand that the image field is just a push button and it just uses the icon of the push button as the image. My issue is now just getting the icon from the push button field. PDFXEdit.IPXC_Annotation annot = formField.Widget[0]; PDFXEdit.IPXC_AnnotData_Widget WData = (PDFX...
by coblejesse
Fri May 31, 2019 3:46 pm
Forum: PDF-XChange Editor SDK
Topic: Identify image field type in looping through form fields
Replies: 8
Views: 1503

Re: Identify image field type in looping through form fields

I guess I'm confused now and that really didn't answer my question or maybe I just don't understand the answer at all. The below code was just an attempt at figuring out how to identify an image field from other field types. Maybe I'm going about it completely wrong and just ignore what I have wrote...
by coblejesse
Fri May 31, 2019 1:01 pm
Forum: PDF-XChange Editor SDK
Topic: Identify image field type in looping through form fields
Replies: 8
Views: 1503

Identify image field type in looping through form fields

Hi Tracker, I am looping through the form fields on documents, and saving the form field name, and value in our db. I would like to save the image in our db, from the image fields, but can't figure out how to identify an image form field, since it shows as a "FFT_PushButton". I've looked a...
by coblejesse
Thu May 30, 2019 3:43 pm
Forum: PDF-XChange Editor SDK
Topic: Add item to Properties Menu
Replies: 3
Views: 899

Re: Add item to Properties Menu

Thanks Alex, I used your code and have tried adding the existing cmd.forms.highlight cmd to the propBar and get no errors, but nothing shows up in the properties bar. I've also tried adding a new cmd to it as well and get the same results, and as well as trying to add a CmdItemBox with a new CmdItem...
by coblejesse
Wed May 29, 2019 7:50 pm
Forum: PDF-XChange Editor SDK
Topic: Add item to Properties Menu
Replies: 3
Views: 899

Add item to Properties Menu

Hi Tracker, I am trying to add the cmd.forms.highlight cmd to the Properties Main Toolbar but am not getting very far. I've searched through the forums and have not been able find how to add a button onto the Properties Toolbar that would then highlight the form fields. This is what I've came up wit...
by coblejesse
Wed May 29, 2019 3:43 pm
Forum: PDF-XChange Editor SDK
Topic: Hide "This document contains form fields" green display
Replies: 2
Views: 689

Re: Hide "This document contains form fields" green display

Sorry, I prematurely wrote this email. I found the solution here viewtopic.php?f=66&t=28040.
by coblejesse
Wed May 29, 2019 3:39 pm
Forum: PDF-XChange Editor SDK
Topic: Hide "This document contains form fields" green display
Replies: 2
Views: 689

Hide "This document contains form fields" green display

Hi Tracker,

Is there any way to hide the "This document contains interactive form fields" green display? I tried hiding the cmd.forms.highlight cmd but that only hides the button to highlight the form fields. Is there a command or other way to hide this?

Thanks,
Jesse Coble
by coblejesse
Tue May 28, 2019 3:13 pm
Forum: PDF-XChange Editor SDK
Topic: Export/Save just form fields or annotations
Replies: 7
Views: 1533

Re: Export/Save just form fields or annotations

Hi Alex, Actually no, I can't get it to work correctly in the end user-editor. After thinking about this some more, maybe I'm wording some this incorrectly and don't actually know exactly what the annotations are, and am using these in the wrong context. I'll try to explain more fully. In the pictur...
by coblejesse
Mon May 27, 2019 12:47 pm
Forum: PDF-XChange Editor SDK
Topic: Export/Save just form fields or annotations
Replies: 7
Views: 1533

Re: Export/Save just form fields or annotations

Sorry about that, here they are.
by coblejesse
Fri May 24, 2019 8:26 pm
Forum: PDF-XChange Editor SDK
Topic: Export/Save just form fields or annotations
Replies: 7
Views: 1533

Re: Export/Save just form fields or annotations

Hi Alex, I just tried exporting the annotations separately from the form fields and it does work for taking off the form fields, leaving the annotations, but does not leave the form fields only when trying export those. Here is an export done manually with form fields taken off and works fine: https...
by coblejesse
Wed May 22, 2019 4:53 pm
Forum: PDF-XChange Editor SDK
Topic: Export/Save just form fields or annotations
Replies: 7
Views: 1533

Export/Save just form fields or annotations

Hi Tracker, I'd like to run a scenario by you and see if this is possible. A user creates a document in Word or other text editor software that has all their annotations on it and that gets converted to pdf. That is then loaded into the PDF-XChange Editor SDK in our software by the user, and they ad...
by coblejesse
Tue May 21, 2019 7:16 pm
Forum: PDF-XChange Editor SDK
Topic: Differentiate between a Save and Save As Event
Replies: 2
Views: 724

Re: Differentiate between a Save and Save As Event

Actually I figured this out. I just implemented the PdfEditorCommandHandler that was provided in the following link https://sdkhelp.pdf-xchange.com/vi ... md_Handler for the cmd.save IUIX_Cmd. That was extremely useful, thanks.
by coblejesse
Tue May 21, 2019 6:52 pm
Forum: PDF-XChange Editor SDK
Topic: Differentiate between a Save and Save As Event
Replies: 2
Views: 724

Differentiate between a Save and Save As Event

Hi Tracker, I found this code in another forum post and it works good in catching the save event on any Save command: if (e.nEventID == nIDS[(int)IDS.e_document_performSave]) { //Do your stuff //... //If the document should not be saved then we break { //... e.pEvent.Result = 0; //Also we can send t...
by coblejesse
Tue May 21, 2019 2:41 pm
Forum: PDF-XChange Editor SDK
Topic: Hiding/Disabling Save/Save As in code
Replies: 7
Views: 2191

Re: Hiding/Disabling Save/Save As in code

Thanks Alex, but can you please show an example on how to use these properties in c# or even vb? Once I see an example things always become a lot clearer.
by coblejesse
Mon May 20, 2019 5:34 pm
Forum: PDF-XChange Editor SDK
Topic: Hiding/Disabling Save/Save As in code
Replies: 7
Views: 2191

Re: Hiding/Disabling Save/Save As in code

Hi, So after speaking with my boss further, he would rather instead of just disabling the commands, would like to hide them, and then instead of "Save Copy As..." he would like "Export Copy As...". Is there any way to hide the Save commands we don't want, and then change the word...
by coblejesse
Fri May 17, 2019 4:35 pm
Forum: PDF-XChange Editor SDK
Topic: Editing Form/Entering data into form fields events
Replies: 1
Views: 1272

Editing Form/Entering data into form fields events

Hi, I'm working with the Full Demo and trying to be notified when a user is editing or entering data into the form fields to show that the form has changed. The pdfCtl_OnEvent is not being fired when either of these two occur. Do I need to add another event to the IDS enum to be registered? I'm usin...
by coblejesse
Fri May 17, 2019 2:02 pm
Forum: PDF-XChange Editor SDK
Topic: Hiding/Disabling Save/Save As in code
Replies: 7
Views: 2191

Re: Hiding/Disabling Save/Save As in code

Thanks very much Alex! Here is a code sample for anyone looking at this in the future. public PDFXEdit.IPXS_Inst pxsInst = (PDFXEdit.IUIX_Inst)PDFXEditor.Inst.GetExtension("UIX"); public void TurnOffCmd(string cmd, bool isOff) { PDFXEdit.IUIX_Cmd iuixCmd = uiInst.CmdManager.Cmds.Find(cmd);...
by coblejesse
Thu May 16, 2019 8:25 pm
Forum: PDF-XChange Editor SDK
Topic: Using MemorySteam from DB and not use a FileStream
Replies: 1
Views: 1046

Using MemorySteam from DB and not use a FileStream

Hi,

Is there anyway to load a PDF straight from a DB and not have to first create a file? I have it working loading a FileStream using your IStreamWrapper, but cannot get it to work using a MemoryStream straight from the Db using a byte array. Is this possible?

Thanks,
Jesse
by coblejesse
Thu May 16, 2019 8:22 pm
Forum: PDF-XChange Editor SDK
Topic: Hiding/Disabling Save/Save As in code
Replies: 7
Views: 2191

Hiding/Disabling Save/Save As in code

Hi, I think i put this in the wrong forum before, the end user forum: I've been searching through your forums trying to find how to hide or at least disable the Save/ Save As menu options from within code and I'm not finding anything for some reason. I'm seeing how to do it for each user from within...
by coblejesse
Thu May 16, 2019 7:49 pm
Forum: PDF-XChange Editor
Topic: Hiding/Disabling Save/Save As in code
Replies: 1
Views: 1115

Hiding/Disabling Save/Save As in code

Hi, I've been searching through your forums trying to find how to hide or at least disable the Save/ Save As menu options from within code and I'm not finding anything for some reason. I'm seeing how to do it for each user from within the Editor but not from within code. Not sure if I'm searching fo...