Search found 4957 matches

by Sasha - Tracker Dev Team
Wed Jul 29, 2020 2:37 pm
Forum: PDF-XChange Core API SDK
Topic: Programmatically select FFT_ComboBox option
Replies: 6
Views: 154

Re: Programmatically select FFT_ComboBox option

Hello shaunh,

Please check the CoreAPIDemo application - I'm sure there is a sample on FFT_ListBox.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Jul 28, 2020 1:10 pm
Forum: Editor Videos
Topic: Presenting Build 340
Replies: 1
Views: 194

Presenting Build 340

by Sasha - Tracker Dev Team
Tue Jul 28, 2020 7:03 am
Forum: PDF-XChange Editor SDK
Topic: Disable Command Tooltip when Command Disabled
Replies: 1
Views: 105

Re: Disable Command Tooltip when Command Disabled

Hello zarkogajic,

I'm afraid that there is no such setting for the IUIX_CmdItem. What you can do is set the tooltip to an empty string when you disable the command and when you enable it, the tooltip ID is "<cmdID>.tip".

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Jul 28, 2020 6:54 am
Forum: PDF-XChange Core API SDK
Topic: Programmatically select FFT_ComboBox option
Replies: 6
Views: 154

Re: Programmatically select FFT_ComboBox option

Hello shaunh, Here's a sample the CoreAPIDemo holds: IPXC_FormField comboBox = Parent.m_CurDoc.AcroForm.CreateField(checkNamesFields(Parent.m_CurDoc, "ComboBox", ref index), PXC_FormFieldType.FFT_ComboBox, 0, ref rcPB); comboBox.InsertOptRecord("lable1", "First Item"); comboBox.InsertOptRecord("labl...
by Sasha - Tracker Dev Team
Tue Jul 21, 2020 1:22 pm
Forum: PDF-XChange Editor SDK
Topic: Update UI after setting IUIX_Layout.NewContainerStyle (add/remove UIX_LayoutItemStyle_AddNewTabBtn)
Replies: 4
Views: 138

Re: Update UI after setting IUIX_Layout.NewContainerStyle (add/remove UIX_LayoutItemStyle_AddNewTabBtn)

Hello zarkogajic,

What you can try is calling the IPXV_Inst::FireAppPrefsChanged with the PXV_AppPrefsChange_Documents flag specified.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Jul 21, 2020 8:00 am
Forum: PDF-XChange Editor SDK
Topic: Colored search results for programmatic search
Replies: 9
Views: 355

Re: Colored search results for programmatic search

Hello SMan,

Yup, if you want to use your own colors then you'll have to assign them manually.

Cheers,
Alex
by Sasha - Tracker Dev Team
Mon Jul 20, 2020 2:24 pm
Forum: PDF-XChange Editor SDK
Topic: Remove docInfoBarSpan.PDFA
Replies: 3
Views: 92

Re: Remove docInfoBarSpan.PDFA

Hello AnMuWK,

You can try doing that in the e.document.initialized or e.document.activated event and see whether it will work for you.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu Jul 16, 2020 12:36 pm
Forum: PDF-XChange Editor
Topic: Crop Pages > Crop Method: Remove All White Space - No Change SOLVED
Replies: 5
Views: 193

Re: Crop Pages > Crop Method: Remove All White Space - No Change SOLVED

Hello brody-xr3,

The thing is that there is a Path item on each page that basically is equal to the page size itself. Thus the Bound Box of the page's content is that path's size. Thus the Remove White Margin behaves like that:
image.png
Cheers,
Alex
by Sasha - Tracker Dev Team
Thu Jul 16, 2020 6:06 am
Forum: PDF-XChange Editor SDK
Topic: JBIG2
Replies: 1
Views: 111

Re: JBIG2

Hello jeffp,

JBig2 is a lossless mode.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jul 15, 2020 10:13 am
Forum: PDF-XChange Editor SDK
Topic: XFA IsSigned? SOLVED
Replies: 6
Views: 288

XFA IsSigned? SOLVED

:)
by Sasha - Tracker Dev Team
Wed Jul 15, 2020 9:34 am
Forum: PDF-XChange Editor SDK
Topic: Colored search results for programmatic search
Replies: 9
Views: 355

Re: Colored search results for programmatic search

Hello SMan,

The IUIX_Inst::CreateNewBrush and IUIX_Inst::CreateNewPen should be used to create the IUIX_Brush and IUIX_Pen objects. Then you should fill them with the needed color and pass to the method.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jul 15, 2020 9:32 am
Forum: PDF-XChange Editor SDK
Topic: programmatically move a bookmark to the top of the list
Replies: 1
Views: 87

Re: programmatically move a bookmark to the top of the list

Hello docu-track99, You can always catch the https://sdkhelp.tracker-software.com/view/PXV:e_operBeforeExecute event and see the insides of the operation by moving the needed bookmark to the needed position manually. There are plenty of samples on this forum on how to use that event. As for your dir...
by Sasha - Tracker Dev Team
Wed Jul 15, 2020 9:30 am
Forum: PDF-XChange Editor SDK
Topic: Changing Identity.Name no longer working?
Replies: 3
Views: 145

Re: Changing Identity.Name no longer working?

Hello JGForwick, You should never store the numeric ID value between sessions. The IDs should be generated dynamically from their string values via the Str2ID method on the start of the program or where you needed it. The numeric values will differ from build to build so they should not be used dire...
by Sasha - Tracker Dev Team
Wed Jul 15, 2020 9:28 am
Forum: PDF-XChange Editor SDK
Topic: XFA IsSigned? SOLVED
Replies: 6
Views: 288

Re: XFA IsSigned? SOLVED

Hello zarkogajic,

From what I see by using search on the sdkhelp wiki, there is a IPXC_Document::HasDigitalSigns method.

Cheers,
Alex
by Sasha - Tracker Dev Team
Mon Jul 13, 2020 11:45 am
Forum: PDF-XChange Editor SDK
Topic: VBA Code for export as HTML
Replies: 1
Views: 104

Re: VBA Code for export as HTML

Hello Nawox,

There is no ready solution for the table extraction in the SDK.

Cheers,
Alex
by Sasha - Tracker Dev Team
Mon Jul 13, 2020 10:09 am
Forum: PDF-XChange Editor SDK
Topic: Changing Identity.Name no longer working?
Replies: 3
Views: 145

Re: Changing Identity.Name no longer working?

Hello JGForwick, Here's a code snippet that should work for your case: if (e.nEventID == nIDS[(int)IDS.e_annots_inserted]) { PDFXEdit.IPXV_Document Doc = (PDFXEdit.IPXV_Document)e.pFrom; IntPtr outPtr; Doc.ActiveView.Obj.QueryImpl(typeof(PDFXEdit.IUIX_ObjImpl).GUID, null, out outPtr); PDFXEdit.IUIX_...
by Sasha - Tracker Dev Team
Mon Jul 13, 2020 10:04 am
Forum: PDF-XChange Editor SDK
Topic: How to tell when PDF is fully loaded/read
Replies: 1
Views: 72

Re: How to tell when PDF is fully loaded/read

Hello JGForwick,

The e.documentView.ready event should be an OK place for your case.

Cheers,
Alex
by Sasha - Tracker Dev Team
Fri Jul 10, 2020 8:19 am
Forum: PDF-XChange Editor
Topic: JSON to PDF
Replies: 3
Views: 163

Re: JSON to PDF

Hello kumar,

You can convert JSON to CSV and then use the New Document from CSV command to create a table from it.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu Jul 09, 2020 7:34 am
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 508

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Hello shaunh,

The https://sdkhelp.tracker-software.com/vi ... CheckState method takes the ID of the control (in your case the checkbox - that is an IUIX_Label by the way) that you have assigned it when creating.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jul 08, 2020 2:05 pm
Forum: PDF-XChange Editor SDK
Topic: Is IPXV_Control.OpenDocFrom ThreadSafe?
Replies: 1
Views: 41

Re: Is IPXV_Control.OpenDocFrom ThreadSafe?

Hello hjerteblod,

If you want to speed up the document load, you can open them as IPXC_Document in multiple threads and then use the OpenDocFrom to open them as a IPXV_Documents.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jul 08, 2020 9:32 am
Forum: PDF-XChange Editor SDK
Topic: op.document.optimize: Get Flags?
Replies: 3
Views: 67

Re: op.document.optimize: Get Flags?

Hello hjerteblod,

Just use the bitwise OR operation for all of the flags mentioned here:
https://sdkhelp.tracker-software.com/vi ... ardObjects

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Jul 07, 2020 7:41 am
Forum: PDF-XChange Editor SDK
Topic: Programmatically add/edit goto page of an existing bookmark.
Replies: 3
Views: 150

Re: Programmatically add/edit goto page of an existing bookmark.

Hello docu-track99, There are plenty of Core Level samples in this project: https://github.com/tracker-software/PDFCoreSDKExamples/blob/master/CSharp/CoreAPIDemo/Bookmarks.cs If you need to update the visually opened document in the Control use the https://sdkhelp.tracker-software.com/view/PXV:op_bo...
by Sasha - Tracker Dev Team
Mon Jul 06, 2020 12:34 pm
Forum: PDF-XChange Editor SDK
Topic: Programmatically delete / split / combine pages
Replies: 3
Views: 119

Re: Programmatically delete / split / combine pages

Hello docu-track99, There is an operation for the Delete pages functionality. I'm afraid that the Split and Merge operations are not added to the SDK yet. https://sdkhelp.tracker-software.com/view/PXV:op_document_deletePages The split itself can be done as a duplicate + crop: https://sdkhelp.tracker...
by Sasha - Tracker Dev Team
Fri Jul 03, 2020 12:36 pm
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchView.GetParams - what's inside? SOLVED
Replies: 13
Views: 626

Re: IPXV_SearchView.GetParams - what's inside? SOLVED

Hello zarkogajic,

Thanks, we'll take that into consideration.

Cheers,
Alex
by Sasha - Tracker Dev Team
Fri Jul 03, 2020 12:34 pm
Forum: PDF-XChange Editor SDK
Topic: Get colour of FreeTextTypeWriter
Replies: 1
Views: 388

Re: Get colour of FreeTextTypeWriter

Hello lidds,

Can you please share an empty document with single annotation added that you are having problems with?

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu Jul 02, 2020 2:27 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 508

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Hello shaunh, While you cannot modify the Settings dictionary itself, you can modify the PluginsData sub-dictionary, as it's created for such cases. The only rule is to provide your own unique GUID first: {GUID} MyCustomVal1 : int MyCustomVal2 : bool The ICabNode::Insert should be used for the dicti...
by Sasha - Tracker Dev Team
Tue Jun 30, 2020 1:13 pm
Forum: PDF-XChange Editor SDK
Topic: Colored search results for programmatic search
Replies: 9
Views: 355

Re: Colored search results for programmatic search

Hello SMan, When you use the IPXV_DocHighlighter::AddPage method, you don't include the custom brush and/or pen thus the default yellow color is being used instead. Also tip: you may use the WordIndex з IPXV_SearchEntryItem::GetTextRange to assign different colors for different WordIndex'es. Cheers,...
by Sasha - Tracker Dev Team
Tue Jun 30, 2020 1:10 pm
Forum: PDF-XChange Editor SDK
Topic: XFA IsSigned? SOLVED
Replies: 6
Views: 288

Re: XFA IsSigned? SOLVED

Hello žarko, We don't support digital signatures in the XFA. But, this is what can be done via the Structure level: For static XFA, you can search for the Signature field in the fields list and look whether there is a /V key in it's dictionary. For dynamic XFA, this is not guaranteed, but in some ca...
by Sasha - Tracker Dev Team
Fri Jun 19, 2020 12:59 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 508

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Hello shaunh,

Glad that you have found a solution by yourself. Wanted to ask you for a sample for investigation but yeah, you can change that behavior with that variable.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu Jun 18, 2020 4:14 pm
Forum: PDF-XChange Editor SDK
Topic: OLE Error: Not a member
Replies: 4
Views: 307

Re: OLE Error: Not a member

Hello Patrick Van Hoof, We've looked at this problem - the thing that the PAS file is not being generated normally for the TLB. We'll need to look deeper into this one. Meanwhile, we have made a fixed file that you can use: https://github.com/tracker-software/PDFEditSDK-Delphi/tree/master/Imports Ch...
by Sasha - Tracker Dev Team
Thu Jun 18, 2020 3:04 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 246

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hello zarkogajic,

Not from what I know. Basically iterating trough needed command IDs (it can be all of them) via the https://sdkhelp.tracker-software.com/vi ... teCmdItems will do the trick.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jun 17, 2020 6:55 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 246

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hello zarkogajic,

Well you can try firing e_customizeCmdLayout or e_cmdCustomization and see if it works.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jun 17, 2020 3:56 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 246

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hello zarkogajic,

That's exactly what I'm telling - the UI update can happen if some random redraw can break through. The correct way is to send events/update.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jun 17, 2020 1:38 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 246

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hello zarkogajic,

If you are modifying something at the Core Level, the UI won't be updated unless the needed events/updates are being done manually. So there is nothing wrong with this behavior.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jun 17, 2020 11:38 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_PagesPreviewCtl event when current page changes ? SOLVED
Replies: 3
Views: 92

Re: IPXV_PagesPreviewCtl event when current page changes ? SOLVED

Hello zarkogajic,

When the page is being changed the UIX_Notify_SelChanged is fired for the parent object - you can handle that.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Jun 17, 2020 11:29 am
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 246

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hello zarkogajic, Not exactly - there are commands that are handled by different targets. For example this property gives you an ID of the target that handles the command: https://sdkhelp.tracker-software.com/view/PXV:IUIX_Cmd_TargetID Basically some of the commands are handled by the documents view...
by Sasha - Tracker Dev Team
Wed Jun 17, 2020 9:28 am
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 246

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hello zarkogajic,

The iteration though all of the needed commands is the correct way to do this.

Cheers,
Alex