Help with IPXV_PageSizeCtl2 and By Source option

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

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.
RMan
User
Posts: 250
Joined: Tue Jul 02, 2013 10:06 pm

Help with IPXV_PageSizeCtl2 and By Source option

Post by RMan »

Based on your other input on the Navigator Control we've been able to get the IPXV_PageSizeCtl2 working for the most part.

The only thing we haven't figured out is how to add the By Source otpions to the Page Size Type for a New Document or Insert where we are doing multiple files and don't know yet how many pages.

In the XML we have
<indexNavigator x="126" y="203" width="230" height="22" id="PageSize.in.types" style="#00000002" strings="By Page\nStandard\n± %\n± ∆\nCustom"/>

But we only get the Standard and Custom once we use the CreatePageSizeCtl2 and Init

I tired adding the checkbox in PageSize.ch.source and checking that before creating and initializing the control and that didn't work.

The closest was to create a new document to pass to the Init and tried it both with pages and no pages.
CComPtr<PXV::IPXC_Document> tempDoc;
hr = inst->NewCoreDoc(nullptr, &tempDoc);

Here is yours from the New Document From Images->Options and our test.
PDF-XChangeByImage.jpg
You do not have the required permissions to view the files attached to this post.