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

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

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

Post by zarkogajic »

Hi Support,

I have a dynamic XFA PDF with multiple pages. The Content pane in EU Editor does display all pages and content items per page.

If I call IPXC_Pages.Count result will be 1 and then Page.GetContent.Count will return 0 (zero).

Is this expected with XFAs ?

p.s.
I'm opening the document as IPXC_Document (not loading in MainFrame as IPXV_Doc).

-žarko
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

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

Post by Vasyl-Tracker Dev Team »

Yes, it is expected behavior. The dynamic XFA-content is loaded only in the context of IPXV_Document...
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

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

Post by zarkogajic »

Thanks

Post Reply