Search found 4850 matches

by Sasha - Tracker Dev Team
Thu May 28, 2020 3:39 pm
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchCallback - OnStartPtr / OnStopPtr
Replies: 2
Views: 35

Re: IPXV_SearchCallback - OnStartPtr / OnStopPtr

Hello zarkogajic,

The OnStartPtr is being launched when the search starts processing a new entity (document, page etc):
https://sdkhelp.tracker-software.com/vi ... OnStartPtr
The OnEndPtr is being launched when the search is finished for the current entity.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed May 27, 2020 7:08 am
Forum: PDF-XChange Editor SDK
Topic: Getting Page Number and go to specific page number
Replies: 1
Views: 64

Re: Getting Page Number and go to specific page number

Hello docu-track99,

The https://sdkhelp.tracker-software.com/vi ... XV_Control interface has needed methods/properties.

Cheers,
Alex
by Sasha - Tracker Dev Team
Mon May 25, 2020 4:22 pm
Forum: PDF-XChange Core API SDK
Topic: Getting Page Number and go to specific page number
Replies: 3
Views: 48

Re: Getting Page Number and go to specific page number

Hello docu-track99,

Well that's Editor SDK, not the CoreAPI one.
The IPXV_Control interface has needed methods/properties.

Cheers,
Alex
by Sasha - Tracker Dev Team
Mon May 25, 2020 1:33 pm
Forum: PDF-XChange Core API SDK
Topic: Getting Page Number and go to specific page number
Replies: 3
Views: 48

Re: Getting Page Number and go to specific page number

Hello docu-track99,

Is this a CoreAPI question?

Cheers,
Alex
by Sasha - Tracker Dev Team
Fri May 22, 2020 11:48 am
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 122

Re: Convert IColor to Drawing.Color

Hello lidds,

The Color should be in the 0XFFAABBCC format. First one is alpha (that is not used), then all of the other components based on code.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 9:16 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchView.GetParams - what's inside?
Replies: 6
Views: 80

Re: IPXV_SearchView.GetParams - what's inside?

Hello zarkogajic,

That would be:

Code: Select all

ICabNode options = pView.GetParams.Root;
ICabNode folder = options["Folder"];
folder["FS"].v = "XYZ";
Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 9:13 am
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 122

Re: Convert IColor to Drawing.Color

Hello lidds,

We have this method in the FullDemo application:

Code: Select all

public static Color rgb2clr(int c)
{
	int r = c & 0x000000FF;
	int g = (c & 0x0000FF00) >> 8;
	int b = (c & 0x00FF0000) >> 16;
	return Color.FromArgb(r, g, b);
}
Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 8:11 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 542

Re: cmd.newDocCombine options

Hello zarkogajic,

It's DlgBatesNumberingFiles - the dialog is also being reused in the Add Bates Numbering Multi operation.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 6:54 am
Forum: PDF-XChange Core API SDK
Topic: Fatal program exit requested
Replies: 6
Views: 154

Re: Fatal program exit requested

Hello ptoon@einformatics.com,

Technically that can be the case, as you need to create the IPXC_Inst interface.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 6:53 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_PagesLayoutManager.EnsureVisible SOLVED
Replies: 7
Views: 61

Re: IPXV_PagesLayoutManager.EnsureVisible SOLVED

Hello zarkogajic,

Probably you have reversed the top and bottom for that rectangle (just a guess).

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 6:50 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchView.GetParams - what's inside?
Replies: 6
Views: 80

Re: IPXV_SearchView.GetParams - what's inside?

Hello zarkogajic, The g_SearchViewParams template is inside of the ICab: ITEMS(g_SearchFolder) { { L"FS", dt_String, 0, _S("") }, // FileSystem identifier { L"P", dt_String, 0, _S("") }, // src path (local path may include '%MyDocuments%', '%Desktop%' etc.) { L"PX", dt_String, 0, _S("") }, // expand...
by Sasha - Tracker Dev Team
Thu May 21, 2020 6:47 am
Forum: PDF-XChange Editor SDK
Topic: Convert IColor to Drawing.Color
Replies: 12
Views: 122

Re: Convert IColor to Drawing.Color

Hello Simon,

Please check the CoreAPIDemo application for the Annotations samples - there are many places that the color is being set:
https://github.com/tracker-software/PDF ... tations.cs

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 6:23 am
Forum: PDF-XChange Editor SDK
Topic: ZoomTo IPXV_AnnotSelection
Replies: 1
Views: 33

Re: ZoomTo IPXV_AnnotSelection

Hello Simon,

There is an IPXV_DocSelection::EnsureVisible method - probably it will help.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu May 21, 2020 6:20 am
Forum: PDF-XChange Editor SDK
Topic: Default values for Brush/Pen/PXV_DocHighlightAdvanced for IPXV_DocHighlighter.Add SOLVED
Replies: 4
Views: 64

Re: Default values for Brush/Pen/PXV_DocHighlightAdvanced for IPXV_DocHighlighter.Add SOLVED

Hello zarkogajic, Here's how the default inflate structure looks like (it's being used when no parameter is passed): m_DefAdv.nSize = sizeof(PXV_DocHighlightAdvanced); m_DefAdv.nRoundRadius = PxAt96DPI_to_Px(3); m_DefAdv.nTxtQuadsInflate[0] = 0; // left m_DefAdv.nTxtQuadsInflate[2] = 0; // right m_D...
by Sasha - Tracker Dev Team
Tue May 19, 2020 2:29 pm
Forum: PDF-XChange Editor SDK
Topic: IPXV_PagesLayoutManager.EnsureVisible SOLVED
Replies: 7
Views: 61

Re: IPXV_PagesLayoutManager.EnsureVisible SOLVED

Hello zarkogajic,

You can mimic the exact behavior with the GoToDestination as I advised earlier - you can construct a destination that will do exactly the same. What parameters are you passing to the EnsureVisible method?

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue May 19, 2020 12:49 pm
Forum: PDF-XChange Editor SDK
Topic: IPXV_PagesLayoutManager.EnsureVisible SOLVED
Replies: 7
Views: 61

Re: IPXV_PagesLayoutManager.EnsureVisible SOLVED

Hello zarkogajic,

This should work for you by giving the inherited flag for zoom and type XYZ:
https://sdkhelp.tracker-software.com/vi ... estination

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue May 19, 2020 12:42 pm
Forum: PDF-XChange Editor SDK
Topic: Index of IPXC_Page SOLVED
Replies: 3
Views: 54

Re: Index of IPXC_Page SOLVED

Hello zarkogajic,

Well there is a direct property for this one:
https://sdkhelp.tracker-software.com/vi ... age_Number

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue May 19, 2020 6:40 am
Forum: PDF-XChange Core API SDK
Topic: Fatal program exit requested
Replies: 6
Views: 154

Re: Fatal program exit requested

Hello ptoon@einformatics.com,

Can you recreate this in the CoreAPIDemo application? Also, what thread apartment are you using?

Cheers,
Alex
by Sasha - Tracker Dev Team
Mon May 18, 2020 2:18 pm
Forum: PDF-XChange Editor SDK
Topic: Links - Remove Actions - implementation idea
Replies: 3
Views: 79

Re: Links - Remove Actions - implementation idea

Hello zarkogajic, Well, I think it would be better if we make it :) That dialog is in the plugin, and the operation itself is not available - it may prove difficult to do that part. I will discuss this on a meeting - the Bookmarks Plugin can work as a links plugin in majority of parts, probably we c...
by Sasha - Tracker Dev Team
Mon May 18, 2020 2:09 pm
Forum: PDF-XChange Editor SDK
Topic: Adding Comments And Markup Tools Menu to custom Bar
Replies: 3
Views: 87

Re: Adding Comments And Markup Tools Menu to custom Bar

Hello coblejesse,

The thing is that you should also add a Submenu for the item. This can help:
viewtopic.php?f=66&t=29427&p=115825&hil ... nu#p115825

Cheers,
Alex
by Sasha - Tracker Dev Team
Mon May 18, 2020 1:59 pm
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 102

Re: Annot State order when using custom StateModel

Hello Simon,

Maybe you can use the JS to obtain that information?

Cheers,
Alex
by Sasha - Tracker Dev Team
Sun May 17, 2020 12:11 pm
Forum: PDF-XChange Editor
Topic: Feature Request: Compare PDFs
Replies: 9
Views: 344

Re: Feature Request: Compare PDFs

Hello guys, While comparing two files is not a problem at all, presenting the comparison results is a very tricky task. We are thinking on this one and also we have made some scratch versions of what this can look like (in code I mean). We'll definitely try to implement this feature in one of the ne...
by Sasha - Tracker Dev Team
Fri May 15, 2020 1:02 pm
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 102

Re: Annot State order when using custom StateModel

Hello lidds,

It is probably a bug that should be fixed from our side, not you making a workaround - that's what I'm talking about.

Cheers,
Alex
by Sasha - Tracker Dev Team
Fri May 15, 2020 12:17 pm
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 102

Re: Annot State order when using custom StateModel

Hello lidds,

Please post this problem to the End-User Editor forums then - there it will be processed and hopefully fixed faster.

Cheers,
Alex
by Sasha - Tracker Dev Team
Fri May 15, 2020 10:04 am
Forum: PDF-XChange Editor SDK
Topic: How can i implement the drag and drop stamp function?
Replies: 1
Views: 53

Re: How can i implement the drag and drop stamp function?

Hello HomerWu, Check out the CoreAPIDemo application - it holds many answers to your question: https://github.com/tracker-software/PDFCoreSDKExamples/tree/master/CSharp/CoreAPIDemo Also, you can search this forum for annotation adding and how to obtain current mouse position on the Pages View. Cheer...
by Sasha - Tracker Dev Team
Fri May 15, 2020 9:54 am
Forum: PDF-XChange Editor SDK
Topic: Annot State order when using custom StateModel
Replies: 8
Views: 102

Re: Annot State order when using custom StateModel

Hello lidds,

Can you recreate this in the End-User Editor?

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed May 13, 2020 12:55 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 542

Re: cmd.newDocCombine options

Hello jusWest, Yes - the way to do this logic is to fake the drop into the dialog. There are no samples of the List_OnDrop method as you don't direct usage of it as it is a callback method. You need to call it with prefilled drop data - that would do the trick. You can google how to fill the STGMEDI...
by Sasha - Tracker Dev Team
Wed May 13, 2020 12:09 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 542

Re: cmd.newDocCombine options

Hello jusWest, My mistake here - the dialog shows before the event is fired. And even if you have the event monitor on the e_ShowModal, you won't be able to get to the operation that called that dialog with the ShowSetupUI method. What you can do though is call the dialog's List object's List_OnDrop...
by Sasha - Tracker Dev Team
Tue May 12, 2020 12:26 pm
Forum: PDF-XChange Editor SDK
Topic: UI Apperance - Backgrounds - change from code SOLVED
Replies: 5
Views: 186

Re: UI Apperance - Backgrounds - change from code SOLVED

Hello zarkogajic,

Glad that you found what you need :)

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue May 12, 2020 7:21 am
Forum: PDF-XChange Editor SDK
Topic: UI Apperance - Backgrounds - change from code SOLVED
Replies: 5
Views: 186

Re: UI Apperance - Backgrounds - change from code SOLVED

Hello zarkogajic,

Changing the Theme colors result in changing of the whole UI of the Application as the theme is one for all - not just one frame. Though changing the Theme is a correct way of doing what you want.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue May 12, 2020 7:12 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 542

Re: cmd.newDocCombine options

Hello jusWest, Well žarko did use my solution - as I described previously, you should catch the e.operBeforeExecute, fill the "Input" CAB node with the needed files/names and then continue the operation execution. When the operation calls the ShowSetupUI method, that shows the dialog, it tries to re...
by Sasha - Tracker Dev Team
Tue May 12, 2020 7:08 am
Forum: PDF-XChange Editor SDK
Topic: Max tab width for a document SOLVED
Replies: 3
Views: 74

Re: Max tab width for a document SOLVED

Hello zarkogajic,

I'm looking at the inner code and see, that the max tab width is limited and sadly, this cannot be changed.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue May 12, 2020 6:34 am
Forum: PDF-X OCR SDK
Topic: Despeckle PDF before OCR
Replies: 13
Views: 4873

Despeckle PDF before OCR

:)
by Sasha - Tracker Dev Team
Tue May 12, 2020 6:33 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 542

Re: cmd.newDocCombine options

Thanks for the assistance žarko :)