Search found 2344 matches

by Vasyl-Tracker Dev Team
Tue Apr 05, 2022 7:02 pm
Forum: OCR- For the PDF-XChange Editor and Viewer
Topic: "Jumping" letters as a result of OCR
Replies: 12
Views: 4160

Re: "Jumping" letters as a result of OCR

Hi Jensen. We found the reason for this issue. It looks like you OCRed that Original.pdf with 'Detect skew.. ' and 'Fix skew..' options enabled. As result - the images on the pages were slightly clock-wise rotated. Everything is ok with that, except the fact that Chrome/Edge incorrectly displays suc...
by Vasyl-Tracker Dev Team
Tue Mar 15, 2022 9:32 pm
Forum: PDF-XChange Editor SDK
Topic: No Events Are Fired When Closing Panes
Replies: 11
Views: 2191

Re: No Events Are Fired When Closing Panes

You may open any our .NET sample project , build it (to make import of types and interfaces from Editor SDK) and then use 'Go to Definition' feature in your IDE for PDFXEdit.UIX_EventCodes and you will see all values of all event-codes.
At the moment e_Visible=6472.

HTH.
by Vasyl-Tracker Dev Team
Sat Mar 12, 2022 12:36 am
Forum: PDF-XChange Editor SDK
Topic: No Events Are Fired When Closing Panes
Replies: 11
Views: 2191

Re: No Events Are Fired When Closing Panes

Do I have to create a handler for the IUIX_ObjImpl.OnEvent (which is a method)? Yes, correct. Any implementation of IUIX_ObjImpl - is the simple event-listener. Like this: class MyEventListener : IUIX_ObjImpl { public: IUIX_Obj Obj; // get-property, implementation is optional, may return null void ...
by Vasyl-Tracker Dev Team
Mon Mar 07, 2022 11:47 pm
Forum: OCR- For the PDF-XChange Editor and Viewer
Topic: OCR Accuracy: Auto vs High [Paperless Office]
Replies: 8
Views: 4406

Re: OCR Accuracy: Auto vs High

Hi DIV. Per the thread linked above, I am guessing that Auto will be a multi-step procedure: analyse input document to determine resolution, font sizes, imperfections (such as blur or speckle); categorise the quality of images in the input document; run the OCR with the so-called "Accuracy"...
by Vasyl-Tracker Dev Team
Fri Mar 04, 2022 7:14 pm
Forum: PDF-XChange Editor
Topic: Default Layer Issue SOLVED
Replies: 12
Views: 1092

Re: Default Layer Issue SOLVED

Hi PHK.

We found the reason for the issue and will fix it in the next upcoming build. Thanks for report.

Cheers.
by Vasyl-Tracker Dev Team
Wed Mar 02, 2022 7:49 pm
Forum: PDF-XChange Editor
Topic: PDF XChange Editor OCR error
Replies: 18
Views: 1488

Re: PDF XChange Editor OCR error

Hi Sham.

We investigating this case and at the moment you may use a workaround:

1. Use "Desckew Pages" feature
2. Use EOCR with Accuracy=Low

Seems the pattern-like background causing the issue:
image.png

We will look deeply into it..

Cheers.
by Vasyl-Tracker Dev Team
Wed Mar 02, 2022 12:25 am
Forum: PDF-Tools
Topic: 'Choose input files' - long delay
Replies: 11
Views: 1368

Re: 'Choose input files' - long delay

Hi Terra. Sorry, i do not understand where 'SaveImages.GroupingMode=AllImagesToOneMultipageImageFile or AllImagesFromOneDocToOneMultipageImageFile' would have to be set... Is there some .INI file that can be edited? No, its easier: image.png --> working on a share with not enough rights will result ...
by Vasyl-Tracker Dev Team
Sat Feb 26, 2022 5:11 am
Forum: PDF-XChange Core API SDK
Topic: Page number in Header/Footer starts at 2
Replies: 1
Views: 3069

Re: Page number in Header/Footer starts at 2

Hi mmanuel.

Sorry for delay with the answer. Try to use this workaround:

firstHeaderFooter.Start = 0

Cheers.
by Vasyl-Tracker Dev Team
Sat Feb 26, 2022 3:48 am
Forum: PDF-XChange Editor SDK
Topic: Dynamic XFA - IPXC_Pages.Count returns 1 (and IPXC_ContentItems.Count = 0) SOLVED
Replies: 3
Views: 1086

Re: Dynamic XFA - IPXC_Pages.Count returns 1 (and IPXC_ContentItems.Count = 0) SOLVED

Yes, it is expected behavior. The dynamic XFA-content is loaded only in the context of IPXV_Document...
by Vasyl-Tracker Dev Team
Sat Feb 26, 2022 3:45 am
Forum: PDF-XChange Editor SDK
Topic: Event for New Tab Group SOLVED
Replies: 4
Views: 989

Re: Event for New Tab Group SOLVED

Hi Zarko. You may intercept one notify which UI-framework sends to the "documentViewsArea" UI-object if (event.nCode == e_Notify) { UIX_NotifyInfo* notify = (UIX_NotifyInfo*)event.nParam1; if (notify.nCode == UIX_Notify_Layout_Changed && notify.nFromID == Str2ID( "documentView...
by Vasyl-Tracker Dev Team
Sat Feb 26, 2022 2:30 am
Forum: PDF-Tools
Topic: 'Choose input files' - long delay
Replies: 11
Views: 1368

Re: 'Choose input files' - long delay

Hi Terra. Thanks for the additional helpful info. By the way: to my understanding of the UI a multipage PDF would be saved automatically as TIFF instead of PNG. Am I wrong about this? Yes, you are correct and also you need to specify SaveImages.GroupingMode=AllImagesToOneMultipageImageFile or AllIma...
by Vasyl-Tracker Dev Team
Tue Feb 22, 2022 10:28 pm
Forum: PDF-Tools
Topic: 'Choose input files' - long delay
Replies: 11
Views: 1368

Re: 'Choose input files' - long delay

Hi TerraD. Unfortunately, but we cannot reproduce your issue with the settings you provided... Let me ask you more questions: 1. That source network-folder - when you try to access it from other programs - how does it look? It is fast or slow? For example, when you look into this folder through Wind...
by Vasyl-Tracker Dev Team
Thu Feb 10, 2022 7:33 pm
Forum: PDF-XChange Editor SDK
Topic: Non-English Language issue about Find function.
Replies: 12
Views: 2606

Re: Non-English Language issue about Find function.

Hi defcon8808. Some details about crash-cases. The document you provided has tens of thousands of very tiny inline images (mostly - just white rectangles) on pages and loading many pages content causing overusing of memory. This may cause out-of-memory exception on 32-bit system. In the new upcoming...
by Vasyl-Tracker Dev Team
Thu Feb 10, 2022 3:20 am
Forum: PDF-XChange Editor SDK
Topic: How do I programmatically set default values like font size or opacity
Replies: 1
Views: 472

Re: How do I programmatically set default values like font size or opacity

You need to use:

style = Inst.Settings["Tools.Typewriter.Style"];

style["A"].v = 0.4; // 40% opacity
style["TS.Font.Size"].v = 8; // Font Size is 8pt
...

===

HTH
by Vasyl-Tracker Dev Team
Thu Feb 10, 2022 3:02 am
Forum: PDF-XChange Editor SDK
Topic: Dynamic Stamp Refresh Issue
Replies: 11
Views: 1830

Re: Dynamic Stamp Refresh Issue

Hi Jeff. To customize the user name via Identity section in Editor's settings you may: sett = pdfCtl.Inst.Settings; sett["Identity.AlwaysUseLoginName"].v = false; sett["Identity.GetFromAD"].v = false; // to prevent loading user-info from an active domain sett["Identity.Name&...
by Vasyl-Tracker Dev Team
Thu Feb 10, 2022 2:37 am
Forum: PDF-XChange Editor SDK
Topic: Number of imported comments via op.document.importCommentsAndFields ? SOLVED
Replies: 5
Views: 1226

Re: Number of imported comments via op.document.importCommentsAndFields ? SOLVED

Unfortunately but not the moment, maybe later... From another side you may get number of added annots using idea like to: 1. build list of all unique names of existing annots on pages 2. import 3. build new list of all unique names of existing annots 4. compare two lists of names to detect newly add...
by Vasyl-Tracker Dev Team
Thu Feb 10, 2022 2:27 am
Forum: PDF-XChange Editor SDK
Topic: Non-English Language issue about Find function.
Replies: 12
Views: 2606

Re: Non-English Language issue about Find function.

Hi defcon8808.

Thanks for the detailed report. We will try to fix that issues soon..

Cheers.
by Vasyl-Tracker Dev Team
Fri Feb 04, 2022 8:48 pm
Forum: PDF-XChange Editor SDK
Topic: What permission is required for op.document.importCommentsAndFields SOLVED
Replies: 5
Views: 1145

Re: What permission is required for op.document.importCommentsAndFields SOLVED

Well, to make the situation as clear as possible... The core-document has 3 different layers of permissions. 1. document's level , managed by document's actual security or by digital signature. You cannot change those permissions without changing the security. 2. developer level , managed by dev, vi...
by Vasyl-Tracker Dev Team
Fri Feb 04, 2022 3:37 am
Forum: PDF-XChange Editor SDK
Topic: IStream FDF vs XFDF for op.document.importCommentsAndFields / "the parameter is incorrect" for FDF source SOLVED
Replies: 5
Views: 1289

Re: IStream FDF vs XFDF for op.document.importCommentsAndFields / "the parameter is incorrect" for FDF source SOLVED

Stream is supported but operation mistakenly requires the write-permission for input stream. I guess it causes the problem with your readonly (very possible) stream...
by Vasyl-Tracker Dev Team
Fri Feb 04, 2022 3:25 am
Forum: PDF-XChange Editor SDK
Topic: Number of imported comments via op.document.importCommentsAndFields ? SOLVED
Replies: 5
Views: 1226

Re: Number of imported comments via op.document.importCommentsAndFields ? SOLVED

Unfortunately, this info is inside internal (not public) data of import-operation. At the moment you cannot reach it.. :(
by Vasyl-Tracker Dev Team
Fri Feb 04, 2022 3:21 am
Forum: PDF-XChange Editor SDK
Topic: What permission is required for op.document.importCommentsAndFields SOLVED
Replies: 5
Views: 1145

Re: What permission is required for op.document.importCommentsAndFields SOLVED

How about this:

doc.SetRestrictedPermissions(0);

// import...

doc.SetRestrictedPermissions(PermF_All);
by Vasyl-Tracker Dev Team
Wed Feb 02, 2022 9:17 pm
Forum: PDF-XChange Editor
Topic: links in the text that is inside a sticky note
Replies: 29
Views: 1994

Re: links in the text that is inside a sticky note

Hi David. We added the "Set Hyperlink" feature, but at the moment for form-fields only (rich-text, multiline). In the next build you will be able to add links to the text in floating popups and text-boxes on the page. It would be awesome too if we could have inside a sticky comment note cl...
by Vasyl-Tracker Dev Team
Wed Feb 02, 2022 12:57 am
Forum: PDF-XChange Editor SDK
Topic: splitting pdf files
Replies: 3
Views: 821

Re: splitting pdf files

Hi Ronny. Try to use: 1. DontCopy for FieldsAction, BookmarksAction and CommentsAction. Just for experiment, to see if it affects performance. Please let us know if this has any effect. 2. In case when you multiple times run the extractPages-op for the same doc but with different pages-ranges - you ...
by Vasyl-Tracker Dev Team
Wed Feb 02, 2022 12:11 am
Forum: PDF-XChange Editor SDK
Topic: Allow closing document without asking to save changes ("override" IsDirty) SOLVED
Replies: 8
Views: 1264

Re: Allow closing document without asking to save changes ("override" IsDirty) SOLVED

You may try to close document silently using the e.document.beforeClose + pEvent.Handled=true and with the direct doc.Close(0) call inside your handler...
by Vasyl-Tracker Dev Team
Tue Feb 01, 2022 2:34 am
Forum: PDF-XChange Editor SDK
Topic: splitting pdf files
Replies: 3
Views: 821

Re: splitting pdf files

Hi Ronny.

Seems there can be a document-specific issue... Can we ask for any test doc to reproduce your issue on our side?

Also please provide options you used for op.document.extractPages.

Thanks.
by Vasyl-Tracker Dev Team
Wed Jan 12, 2022 6:16 pm
Forum: PDF-XChange Editor SDK
Topic: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED
Replies: 10
Views: 1896

Re: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED

You may create new font using:

font = uiInst.CreateFontFromFont(srcFont, newFontSize, flags, flagsMask);

newFontSize:
0 - keep current
>0 - new size in pt
<0 - coefficient to enlarge/reduce the current font size

flags, flagsMask: use UIX_CreateFont_XXX flags.
by Vasyl-Tracker Dev Team
Tue Jan 11, 2022 8:33 pm
Forum: PDF-XChange Editor SDK
Topic: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED
Replies: 10
Views: 1896

Re: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED

The parameter after Font is Color - that's what $FF0000 is in my code. Yes, you are right and sorry for my mistake. So I fixed code my previous post. :( Unfortunately I haven't the Delphi IDE at the moment and cannot try your code - so please: 1. Fix $FF0000 -> $FF000000 because $FF0000 specifies t...
by Vasyl-Tracker Dev Team
Tue Jan 11, 2022 2:24 am
Forum: PDF-XChange Editor SDK
Topic: IUIX_CmdBar.Highlight() ? SOLVED
Replies: 3
Views: 997

Re: IUIX_CmdBar.Highlight() ? SOLVED

At the moment the IUIX_CmdBar.Highlight() isn't implemented. But in the future it will appear like IUIX_CmdItem.Highlight() - it highlights the specified cmd-item on certain toolbar. You may try to use this one instead of highlighting of the whole toolbar. But I'm not sure how it will work for stati...
by Vasyl-Tracker Dev Team
Tue Jan 11, 2022 2:09 am
Forum: PDF-XChange Editor SDK
Topic: v8 vs v9 : IPXV_DocInfoBarCallbacks vs IPXV_InfoBarCallbacks SOLVED
Replies: 13
Views: 2330

Re: v8 vs v9 : IPXV_DocInfoBarCallbacks vs IPXV_InfoBarCallbacks SOLVED

Seems you may use both 'shortcuts' to remove your own info-span from InfoBar: infoSpanBar = Inst.MainFrm[0].View.CmdBar2[myInfoSpanID]; ... infoSpanBar.Line.DeleteBar(infoSpanBar.Line.GetBarIndex(infoSpanBar)); OR infoSpanBar.Hide(); Unfortunately, but I was unable to reproduce your issue with simpl...
by Vasyl-Tracker Dev Team
Tue Jan 11, 2022 1:51 am
Forum: PDF-XChange Editor SDK
Topic: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED
Replies: 10
Views: 1896

Re: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED

Well, for DocsViewArea you may override its e_Render by setting e.Handled = true. In that case the default label not be drawn (as you noticed). And instead of it you should be able to draw text/lines/rectangles etc. in your OnRender-handler. And, as I see, you have a slightly incorrect code: the $FF...
by Vasyl-Tracker Dev Team
Fri Jan 07, 2022 3:47 am
Forum: PDF-XChange Editor SDK
Topic: v8 vs v9 : IPXV_DocInfoBarCallbacks vs IPXV_InfoBarCallbacks SOLVED
Replies: 13
Views: 2330

Re: v8 vs v9 : IPXV_DocInfoBarCallbacks vs IPXV_InfoBarCallbacks SOLVED

There is working C#-example: Type tt = typeof(PDFXEdit.IUIX_ScrollContainer); IntPtr p = IntPtr.Zero; pdfCtl.Inst.MainFrm[0].View.Obj.Children[0].QueryImpl(tt.GUID, null, out p); if (p != IntPtr.Zero) { PDFXEdit.IUIX_ScrollContainer scrollCon = (PDFXEdit.IUIX_ScrollContainer)System.Runtime.InteropSe...
by Vasyl-Tracker Dev Team
Fri Jan 07, 2022 3:07 am
Forum: PDF-XChange Editor SDK
Topic: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED
Replies: 10
Views: 1896

Re: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED

Also you may remove this tip by:

Inst.Setting["Docs.CanOpenByDblClk"] = false;

but it will also stop this option from working...
by Vasyl-Tracker Dev Team
Fri Jan 07, 2022 2:22 am
Forum: PDF-XChange Editor SDK
Topic: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED
Replies: 10
Views: 1896

Re: Drawing text on IPXV_DocumentViewsArea via IUIX_RenderContext.DrawString SOLVED

Hi Zarko. In your OnRender handler try this: // first call the original paint-procedure m_pObj->CallNextEventProcess((IUIX_ObjImpl*)this, pEvent); pEvent.Handled = true; // now the add your custom painting code... OR you may try to use other way: 1. add m_pObj->SetStyleEx(UIX_ObjStyleEx_NeedPostRend...
by Vasyl-Tracker Dev Team
Wed Jan 05, 2022 7:19 pm
Forum: PDF-XChange Editor SDK
Topic: Custom Pane - Highlight When Active Pane
Replies: 16
Views: 2170

Re: Custom Pane - Highlight When Active Pane

Hi Zarko. Btw, are you using SetWindowSubclass or ? No, technically it is: WNDPROC pOldWndProc = SetWindowLongPtr(hWnd, GWLP_WNDPROC, (LONG_PTR)pNewWndProc); and then, when event isn't handled by pNewWndProc - the previous pOldWndProc is called by CallWindowProc(pOldWndProc, hWnd...); In case when t...
by Vasyl-Tracker Dev Team
Fri Dec 24, 2021 2:25 am
Forum: PDF-XChange Editor SDK
Topic: Custom Pane - Highlight When Active Pane
Replies: 16
Views: 2170

Re: Custom Pane - Highlight When Active Pane

Tried to reproduce your issue using CustomPane sample. We modified it: 1. Added the tab-control with overridden tabControl1_SelectedIndexChanged method to see how it works after subclassing 2. Subclassed the userCtrl.Handle and all its descendants with UIX_ObjStyleEx_SimpleWndWrapper flag. All works...
by Vasyl-Tracker Dev Team
Thu Dec 23, 2021 3:22 am
Forum: PDF-XChange Editor SDK
Topic: Custom Pane - Highlight When Active Pane
Replies: 16
Views: 2170

Re: Custom Pane - Highlight When Active Pane

Hi Zarko.

Soon I will investigate your case and let you know about result, good or not...

Cheers.
by Vasyl-Tracker Dev Team
Tue Dec 14, 2021 5:17 pm
Forum: PDF-XChange Editor SDK
Topic: Custom Pane - Highlight When Active Pane
Replies: 16
Views: 2170

Re: Custom Pane - Highlight When Active Pane

Am not sure what exact implementation would need to go into On[Pre|Post]Event for "cp.pImpl" - so for the highlight to happen. Just keep it empty. Or return from it with Event.Handled==false at least. Such lightweight wrapper-objects are only to bound editor's UI-framework and your UI tog...
by Vasyl-Tracker Dev Team
Mon Dec 13, 2021 7:38 pm
Forum: PDF-XChange Editor SDK
Topic: Custom Pane - Highlight When Active Pane
Replies: 16
Views: 2170

Re: Custom Pane - Highlight When Active Pane

Unfortunately, there is no other way to do this...
by Vasyl-Tracker Dev Team
Mon Dec 13, 2021 7:12 pm
Forum: PDF-XChange Editor SDK
Topic: Custom Pane - Highlight When Active Pane
Replies: 16
Views: 2170

Re: Custom Pane - Highlight When Active Pane

Hi Zarko. Our UI framework keeps track of all keyboard focus changes and highlights the title and border of a panel when that panel or any of its descendants receives focus. But when you embed your own UI that was built without using our UI framework, this mechanism will not work, because in this ca...
by Vasyl-Tracker Dev Team
Fri Dec 10, 2021 10:23 pm
Forum: PDF-XChange Editor SDK
Topic: *SOLVED* Pdf Editor Displaying Poor Number Formatting
Replies: 10
Views: 900

Re: *SOLVED* Pdf Editor Displaying Poor Number Formatting

pdfCtrl.Inst.Settings.Item("Tools.TextBox.Style.TS.Font.Name").v = "CourierNewPSM"
Maybe "CourierNewPSMT" ?
by Vasyl-Tracker Dev Team
Fri Dec 10, 2021 9:11 pm
Forum: PDF-XChange Editor SDK
Topic: *SOLVED* Pdf Editor Displaying Poor Number Formatting
Replies: 10
Views: 900

Re: Pdf Editor Displaying Poor Number Formatting

Just for additional test - copy something from notepad and then paste to editor (be sure that Font.Name is changed before paste)..
by Vasyl-Tracker Dev Team
Fri Dec 10, 2021 9:01 pm
Forum: PDF-XChange Editor SDK
Topic: *SOLVED* Pdf Editor Displaying Poor Number Formatting
Replies: 10
Views: 900

Re: Pdf Editor Displaying Poor Number Formatting

It seems that .Settings is a readonly property. No, the Settings object is R/W definitely. What programming language do you use? I added the: pdfCtl.Inst.Settings["Tools.TextBox.Style.TS.Font.Name"].v = "CourierNewPSMT"; to our FullDemo C# example-project and it works as expecte...
by Vasyl-Tracker Dev Team
Fri Dec 10, 2021 6:38 pm
Forum: PDF-XChange Editor SDK
Topic: *SOLVED* Pdf Editor Displaying Poor Number Formatting
Replies: 10
Views: 900

Re: Pdf Editor Displaying Poor Number Formatting

Hi Sam. It depends what kind of data puts your embedded calculator to the clipboard. If just a plain text - the problem can be solved easily. But if it puts the rich-text with variable-width font specified(Arial, TimesNewRoman etc.) - there not be a good solution because our Paste obeys the rich-for...
by Vasyl-Tracker Dev Team
Fri Dec 10, 2021 6:02 pm
Forum: PDF-XChange Editor SDK
Topic: How to Get the Selected Content Item
Replies: 7
Views: 1103

Re: How to Get the Selected Content Item

With Editor SDK you may use "op.replaceContent", instead of page.PlaceContent(): op = pxvInst.CreatOp("op.replaceContent"); op.Params["Input"].Add() = coreDoc; op.Params["Options.NewContent"] = newCon; op.Params["Options.TargetPage"] = pageIndex; op....
by Vasyl-Tracker Dev Team
Thu Dec 09, 2021 10:48 pm
Forum: PDF-XChange Editor SDK
Topic: How to Get the Selected Content Item
Replies: 7
Views: 1103

Re: How to Get the Selected Content Item

Here is simple example: con = page.GetContent(CAccessMode_WeakClone); ... con.GetItemForEditing(index, ci); IPXC_Image curImgObj = ci.Image_Object; IIXC_Page img = curImgObj.CreateIXCPage(); ChangeImage(img); IPXC_Image newImgObj = doc.AddImageFromIXCPage(img); ci.Image_Object = newImgObj; ... page....
by Vasyl-Tracker Dev Team
Thu Dec 09, 2021 10:29 pm
Forum: PDF-Tools
Topic: SecurePDF: Command Line
Replies: 3
Views: 567

Re: SecurePDF: Command Line

Hi mhub. We haven't such possibility at the moment. But theoretically it can be implemented in the way like this: PDFXTools.exe /runtool secure_UserA.json "c:\UserA.pdf" PDFXTools.exe /runtool secure_UserB.json "c:\UserB.pdf" ... and secure_***.json files may contain the tool-ID ...
by Vasyl-Tracker Dev Team
Thu Dec 09, 2021 6:37 pm
Forum: PDF-XChange Core API SDK
Topic: Add text with underline style
Replies: 4
Views: 2706

Re: Add text with underline style

Unfortunately not.
by Vasyl-Tracker Dev Team
Thu Dec 09, 2021 2:00 am
Forum: PDF-XChange Core API SDK
Topic: Add text with underline style
Replies: 4
Views: 2706

Re: Add text with underline style

Hi rlcgm. Look to IPXC_ContentCreator::ShowTextBlock , here you may specify custom pCharFmt with TEF_Underline -effect. OR you may try another way: specify the DTF_RichText flag to the nFlags argument and then specify the XFA-structured text to the pText argument, like this: <?xml version="1.0&...
by Vasyl-Tracker Dev Team
Wed Dec 08, 2021 8:55 pm
Forum: PDF-XChange Editor SDK
Topic: How to Get the Selected Content Item
Replies: 7
Views: 1103

Re: How to Get the Selected Content Item

The pseudocode to enumerate all selected content items: IPXV_DocSelection sel; IPXV_Document doc; doc.GetSel(Str2ID("selection.contentItems"), out sel); IPXV_ContentItemsSelection csel = sel; IPXC_Pages pages = doc.CoreDoc.Pages; uint iCnt = csel.Count; for (uint i = 0; i < iCnt; i++) { IP...