Search found 3547 matches

by Ivan - Tracker Software
Thu Jun 09, 2022 6:19 pm
Forum: PDF-XChange Editor
Topic: Language tag
Replies: 5
Views: 1060

Re: Language tag

Hi Jensen, I'm not sure how XMP is connected with the /Root/Lang property of the PDF document? When the Editor sets the document's language, it stores it in the document's catalog dictionary (/Root) under the key 'Lang', as described in the PDF Specification. And the document's Metadata (XMP) has no...
by Ivan - Tracker Software
Wed May 11, 2022 4:33 pm
Forum: PDF-XChange Editor
Topic: Wrong bold text
Replies: 19
Views: 1700

Re: Wrong bold text

Every (or almost every) piece of text in this document is duplicated. The first time it is rendered with just a border of width 0 and a second time with a fill. image.png image1.png Width 0 by PDF specification means that the border should be rendered 1 pixel wide no matter of zoom level. That's wha...
by Ivan - Tracker Software
Wed May 11, 2022 4:01 pm
Forum: PDF-XChange Editor SDK
Topic: NEWB Question-Region Selection
Replies: 16
Views: 1884

Re: NEWB Question-Region Selection

Yes, we will. We are working on adding this kind of sample to our github repository.
by Ivan - Tracker Software
Mon May 09, 2022 11:45 pm
Forum: PDF-XChange Editor
Topic: Creating a pdf via word plugin results in purple-colored links
Replies: 6
Views: 377

Re: Creating a pdf via word plugin results in purple-colored links

These links have purple color while they are visiting. And they got such status because we do process links during document conversion.
We will add an option to reset visiting status for links during conversion.
by Ivan - Tracker Software
Fri May 06, 2022 11:43 pm
Forum: PDF-XChange Editor
Topic: Bug? Merge Page Order Reverse
Replies: 22
Views: 1122

Re: Bug? Merge Page Order Reverse

Looks like there is an issue with handling "Reverse Order" in the Merge Pages operation. We will fix the issue in the next build
by Ivan - Tracker Software
Fri May 06, 2022 10:33 pm
Forum: PDF-XChange Editor
Topic: Sometimes printing error
Replies: 7
Views: 527

Re: Sometimes printing error

What do you do when the problem encounters? Just try to print again, or do you have to restart Word?
by Ivan - Tracker Software
Tue May 03, 2022 10:48 pm
Forum: PDF-XChange Editor SDK
Topic: NEWB Question-Region Selection
Replies: 16
Views: 1884

Re: NEWB Question-Region Selection

Can you please describe your task in a bit more detail? You say "How to select a region...". How do you expect this selection should happen? By your user on a rendered page? Programmatically? We can try to help or direct you in the right direction, but we need to understand what exactly yo...
by Ivan - Tracker Software
Tue May 03, 2022 8:54 pm
Forum: PDF-XChange Editor SDK
Topic: NEWB Question-Region Selection
Replies: 16
Views: 1884

Re: NEWB Question-Region Selection

Based on your description, one of the DrawXXX functions should help.
by Ivan - Tracker Software
Mon May 02, 2022 7:55 pm
Forum: PDF-XChange Editor
Topic: Opening a PDF from an URL does not work with parameters
Replies: 7
Views: 1476

Re: Opening a PDF from an URL does not work with parameters

Can you provide more info about your proxy?
by Ivan - Tracker Software
Wed Mar 30, 2022 4:06 pm
Forum: PDF-XChange Editor SDK
Topic: Enumerating fonts (to see if embedded) - speed issue SOLVED
Replies: 6
Views: 1210

Re: Enumerating fonts (to see if embedded) - speed issue SOLVED

Not exactly. This method does not go through page content. Instead, it checks the /Resources dictionary recursively, and not only for pages as fonts may be used in many places.
by Ivan - Tracker Software
Tue Mar 29, 2022 6:41 pm
Forum: PDF-XChange Editor SDK
Topic: Enumerating fonts (to see if embedded) - speed issue SOLVED
Replies: 6
Views: 1210

Re: Enumerating fonts (to see if embedded) - speed issue SOLVED

The only other possible way to find all fonts in the document is to go through all objects (using IPXS_Document::GetObjectByNum) and if the object is a dictionary, check its Type field. For fonts, it should be "Font". Then, you can get IPXC_Document::GetFont to get IPXC_Font from this IPXS...
by Ivan - Tracker Software
Thu Mar 17, 2022 5:56 pm
Forum: PDF-XChange Editor
Topic: Stamp: display of the AD displayName
Replies: 10
Views: 560

Re: Stamp: display of the AD displayName

displayName is not available via identity.
But there are firstName and lastName.
by Ivan - Tracker Software
Wed Feb 16, 2022 4:52 pm
Forum: PDF-XChange Editor
Topic: Corrupted document - is it? SOLVED
Replies: 3
Views: 589

Re: Corrupted document - is it? SOLVED

The Editor does not report about issues in page content, instead, we are trying to recover as much as we can.
But, in this case, content is trying to show XObject which is absent in page Resources.
by Ivan - Tracker Software
Thu Feb 10, 2022 3:53 am
Forum: PDF-XChange Editor SDK
Topic: Confirmation needed for op.document.exportCommentsAndFields SOLVED
Replies: 3
Views: 943

Re: Confirmation needed for op.document.exportCommentsAndFields SOLVED

Yes, only Markup annotation will be exported in this case to the XFDF file.
by Ivan - Tracker Software
Mon Feb 07, 2022 5:55 pm
Forum: PDF-XChange Editor SDK
Topic: Dynamic Stamp Refresh Issue
Replies: 11
Views: 1623

Re: Dynamic Stamp Refresh Issue

Dynamic stamps may not be 'refreshed' when it is shown in the stamps list, but the calculation is called when you choose a stamp, and the second time calculation is called when you actually place the stamp.
by Ivan - Tracker Software
Thu Feb 03, 2022 6:50 pm
Forum: PDF-XChange Editor SDK
Topic: Dynamic Stamp Refresh Issue
Replies: 11
Views: 1623

Re: Dynamic Stamp Refresh Issue

The identity setting is the same as the rest of the other settings need to be saved by your application.
To do that, you have to call IPXV_Inst::SaveUserSettings before your application exit.
For sure, at the start, you have to load these settings via IPXV_Inst::LoadUserSettings.
by Ivan - Tracker Software
Wed Jan 05, 2022 7:03 pm
Forum: PDF-XChange Editor SDK
Topic: C# code to fill a PDF form
Replies: 58
Views: 9511

Re: C# code to fill a PDF form

For radio buttons and check boxes you have to use CheckWidget method instead of SetValueText.

For checkboxes, the first parameter should be 0. For the radio buttons - the index of the radio button on the group.
by Ivan - Tracker Software
Wed Jan 05, 2022 6:57 pm
Forum: PDF-XChange Editor SDK
Topic: 'Invalid index in array.' with CoreDoc.GetNamedDestination (PDF 1.1 having /Dests entry in the Catalog) SOLVED
Replies: 5
Views: 1143

Re: 'Invalid index in array.' with CoreDoc.GetNamedDestination (PDF 1.1 having /Dests entry in the Catalog) SOLVED

I cannot reproduce the issue with your document. Here is my code (no failure checks to make it simple): HRESULT hr = S_OK; do { hr = InitializeSDK(); CComPtr<IPXC_Document> pDoc; const wchar_t* path = LR"(e:\temp\dest_test_generated.pdf)"; hr = g_Inst->OpenDocumentFromFile((LPWSTR)path, nu...
by Ivan - Tracker Software
Thu Dec 30, 2021 8:50 pm
Forum: PDF-XChange Editor SDK
Topic: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED
Replies: 5
Views: 1103

Re: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED

GetNextIndirect goes through all xref tables and all through all records in them.

What we can do, is to add a method to the IPXS_Document which will return Linearization dictionary or null if absent.
We already have it, but it is not exposed in the SDK.
by Ivan - Tracker Software
Thu Dec 30, 2021 1:34 am
Forum: PDF-XChange Editor SDK
Topic: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED
Replies: 5
Views: 1103

Re: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED

GetNextIndirect takes a pointer to ULONG_T value, not value itself. So, the correct use of this method would be: ULONG_T enumPos = 0; IPXS_PDFVariant obj = IPXS_Document.GetNextIndirect(&enumPos); In regards position (offset) of the object in the document stream - unfortunately, as I see such a ...
by Ivan - Tracker Software
Fri Dec 24, 2021 7:13 pm
Forum: PDF-XChange Core API SDK
Topic: IPXCPrinter->Paper.Margin?
Replies: 5
Views: 3037

Re: IPXCPrinter->Paper.Margin?

Can you please send me a piece of code when you configure the printer? And, the code where you print, if you do not print with an external app (like Word, etc.) - you need to use GetDeviceCaps(PHYSICALOFFSETX) and GetDeviceCaps(PHYSICALOFFSETY) to take margins into account. You can use ivan@tracker-...
by Ivan - Tracker Software
Thu Dec 23, 2021 9:10 pm
Forum: PDF-XChange Core API SDK
Topic: IPXCPrinter->Paper.Margin?
Replies: 5
Views: 3037

Re: IPXCPrinter->Paper.Margin?

Margins always were set to 0 by default. I wonder how you get 5 mm. It looks like nearly all of the settings available in the Preferences dialog are available via the IPXCPrinter properties, except margin. LeftPos and TopPos are similar, but don't seem to affect the right and bottom edge. The LeftPo...
by Ivan - Tracker Software
Thu Dec 16, 2021 12:54 am
Forum: PDF-XChange Viewer (End Users)
Topic: PDF AutoCad problem
Replies: 2
Views: 891

Re: PDF AutoCad problem

Both screenshots in your post are identical.

Can you please provide any PDF document which is not rendered properly?
by Ivan - Tracker Software
Mon Dec 13, 2021 6:41 pm
Forum: PDF-XChange Editor SDK
Topic: ARM Processors
Replies: 3
Views: 748

Re: ARM Processors

If your app is built for x86, you have to use *.x86.dll's from the SDK package, and it should work without any issues on Windows for ARM64.
The End User's Editor used to work in such a way until we release the native arm64 version.
by Ivan - Tracker Software
Thu Dec 09, 2021 9:53 pm
Forum: PDF-XChange Editor SDK
Topic: ARM Processors
Replies: 3
Views: 748

Re: ARM Processors

You have to provide ARM64 bit version of your app or X86. X64 will work only on insider's builds of Windows 11 arm64.

ARM64 version of your app should use our *.arm64.dll files
by Ivan - Tracker Software
Thu Dec 09, 2021 2:31 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Cyryllic text not searchable with some fonts in generated PDF
Replies: 3
Views: 2824

Re: Cyryllic text not searchable with some fonts in generated PDF

I'm afraid that the problem is with the font, not with the library. For some reason, this font maps two ranges of codes into Cyrillic characters as shown below: image.png And, a non-Unicode range was used when the text was rendered. For example, when you copy text from your PDF file and paste it int...
by Ivan - Tracker Software
Tue Nov 30, 2021 8:47 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 4078

Re: Paper.SheetSizeIndex doesn't work?

I found the problem - it fails when there are no "Paper.StdSheetWidth" and "Paper.StdSheetHeight" are not specified. I fix the issue, but it will be available in the next build. As a workaround, you can specify printer->Option[L"Paper.SheetSizeIndex"] = -2; // Custom pr...
by Ivan - Tracker Software
Tue Nov 30, 2021 8:36 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 4078

Re: Paper.SheetSizeIndex doesn't work?

Looks like I can reproduce the issue on my side. Checking right now what may cause it
by Ivan - Tracker Software
Mon Nov 29, 2021 11:48 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 4078

Re: Paper.SheetSizeIndex doesn't work?

Thanks for the file, but I see no custom settings there.

Can you please send me a piece of code where you set printer options and start the printing process?

Please use ivan@tracker-software.com email.
by Ivan - Tracker Software
Mon Nov 29, 2021 8:30 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 4078

Re: Paper.SheetSizeIndex doesn't work?

Hm, that's strange it does not work. I will double-check that.
Also, are there any other known changes to the interpretation of options that haven't been reflected in the documentation?
No, as I'm aware of.
by Ivan - Tracker Software
Mon Nov 29, 2021 4:45 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 4078

Re: Paper.SheetSizeIndex doesn't work?

In V9 possible values for Paper.SheetSizeIndex and Paper.Size was unified - standard paper index is used instead of paper index.

I.e., to set Letter as a Sheet, you will have to use 1 instead of 0.
by Ivan - Tracker Software
Thu Nov 25, 2021 1:12 am
Forum: PDF-XChange Editor
Topic: freeze when saving a pdf (v. 9.2 build 359) SOLVED
Replies: 5
Views: 841

Re: freeze when saving a pdf (v. 9.2 build 359) SOLVED

In older builds, we had simplified signature validation that could not detect incorrect modifications after (or between) signing a document. We had to fix that issue to conform to the specification, but, unfortunately, that slows down the validation process, especially in the case of having so many ...
by Ivan - Tracker Software
Wed Nov 24, 2021 7:59 pm
Forum: PDF-XChange Editor SDK
Topic: Setting Form Field formatting to None
Replies: 1
Views: 631

Re: Setting Form Field formatting to None

Date (or any other type of formatting) is not described by form field flags. Instead, Format/Keystroke actions are used. You will have to remove these actions. Something like this pField->put_Actions(Trigger_Format, nullptr); pField->put_Actions(Trigger_Keystroke, nullptr); pField->put_Actions(Trigg...
by Ivan - Tracker Software
Wed Nov 24, 2021 6:06 pm
Forum: PDF-XChange Editor
Topic: freeze when saving a pdf (v. 9.2 build 359) SOLVED
Replies: 5
Views: 841

Re: freeze when saving a pdf (v. 9.2 build 359) SOLVED

The problem is with the accessive amount of digital signatures in the document. When a document is saved, all existing signatures are re-validated. And it takes time when there are many signatures.
by Ivan - Tracker Software
Tue Nov 23, 2021 1:50 am
Forum: PDF-XChange Viewer (End Users)
Topic: Microsoft Store
Replies: 14
Views: 3175

Re: Microsoft Store

The Editor is submitted to the Microsoft Store and should be available there shortly.
by Ivan - Tracker Software
Fri Nov 19, 2021 11:35 pm
Forum: PDF-XChange Editor
Topic: File blocked by explorer.exe
Replies: 18
Views: 2830

Re: File blocked by explorer.exe

From what we see, I can say the following. When previewing a local file, Explorer provides us (or any other IPreviewHandler implementation) a copy of the file data (we do not work with files directly, Explorer provides us the file data as IStream) and the file is not blocked. That's true for files o...
by Ivan - Tracker Software
Wed Nov 17, 2021 7:32 pm
Forum: PDF-XChange Editor
Topic: Warning: problem with internal hyperlinks when merging pages
Replies: 5
Views: 622

Re: Warning: disastrous problem with internal hyperlinks since version 9.2

Yes, most likely merge pages operation is the reason, as the rest of code related to links/destination was not changed recently and there should not be any issues.

We are investigating where the problem might be.
by Ivan - Tracker Software
Tue Nov 16, 2021 11:34 pm
Forum: PDF-XChange Editor
Topic: 18 GB memory consumption for PDF-XChange Editor?
Replies: 12
Views: 1188

Re: 18 GB memory consumption for PDF-XChange Editor?

We will check which changes may cause that and will try to mitigate the issue where it is possible.
by Ivan - Tracker Software
Tue Nov 16, 2021 10:49 pm
Forum: PDF-XChange Editor
Topic: 18 GB memory consumption for PDF-XChange Editor?
Replies: 12
Views: 1188

Re: 18 GB memory consumption for PDF-XChange Editor?

As I see, you are allowed to use up to 75% of your memory (24GB of your 32GB) and never clean it up (lifespan set to Maximum).
So, where's the problem?
by Ivan - Tracker Software
Tue Nov 16, 2021 6:34 pm
Forum: PDF-XChange Editor
Topic: 18 GB memory consumption for PDF-XChange Editor?
Replies: 12
Views: 1188

Re: 18 GB memory consumption for PDF-XChange Editor?

How much memory do you have in your system?
by Ivan - Tracker Software
Fri Nov 05, 2021 11:10 pm
Forum: PDF-XChange Editor
Topic: Form - Text - Bold letters
Replies: 3
Views: 563

Re: Form - Text - Bold letters

Technically, this code should work var rv = this.getField("Text1").richValue; for (var i = 0; i < rv.length; ++i) rv[i].fontWeight = 700; this.getField("Text1").richValue = rv; But for some reason, it does not work in the Editor, and we will investigate the reason and fix that as...
by Ivan - Tracker Software
Wed Nov 03, 2021 4:10 pm
Forum: PDF-XChange Editor
Topic: Links Titles Disappear
Replies: 3
Views: 345

Re: Links Titles Disappear

Links have no own titles. We just extract text behind links to show it as the title. So, if you rasterized the document, titles will be lost as there is no more text.
by Ivan - Tracker Software
Mon Nov 01, 2021 7:50 pm
Forum: PDF-XChange Editor
Topic: Populate PDF Form - data source with non-English / Unicode characters SOLVED
Replies: 4
Views: 555

Re: Populate PDF Form - data source with non-English / Unicode characters SOLVED

I added detection of UTF8 without BOM. It will be included in the new build.
by Ivan - Tracker Software
Mon Nov 01, 2021 7:28 pm
Forum: PDF-XChange Editor
Topic: Populate PDF Form - data source with non-English / Unicode characters SOLVED
Replies: 4
Views: 555

Re: Populate PDF Form - data source with non-English / Unicode characters SOLVED

Please save your .txt file as UTF8 with BOM or as Unicode.
When there is no BOM in the file, we handle it as an ASCII file in current local encoding (it is done for compatibility)
by Ivan - Tracker Software
Mon Nov 01, 2021 6:20 pm
Forum: PDF-XChange Editor
Topic: OCR Crashes in 358
Replies: 6
Views: 512

Re: OCR Crashes in 358

Can you please generate and send us a crash dump? Here is the description of how to get this crash dump: https://www.pdf-xchange.com/knowledgebase/459-How-do-I-create-a-dump-file-and-send-it-to-Tracker-Software-for-investigation Please send us an email at support@pdf-xchange.com when the crash dump ...