GetProperty after operations dialog

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

RaduC
User
Posts: 9
Joined: Thu May 23, 2013 1:31 pm

GetProperty after operations dialog

Post by RaduC »

Hi,

Is there a way to get a property from a dialog?

For example on rotate pages, I show the rotatePages dialog with the following command:

DoVerb("Documents[0]", "RotatePages", NULL, NULL, 0);

I would like to get the pages that the user has rotated using the dialog (maybe Operations.RotatePages.RangeText). Is there a way to do that?

Best regards,
--
Radu
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: GetProperty after operations dialog

Post by Vasyl - PDF-XChange »

Hi Radu.

The "Operations.RotatePages.RangeText" is input parameter only and can be used only when you run the 'RotatePages' operation without dialog:
DoVerb("Documents[0]", "RotatePages", NULL, NULL, PXCVA_NoUI);

If you used this operation with dialog - it does not change this parameter and sends a list of selected pages directly to operation.
So, I'm afraid, but you cannot get parameters from operation's dialog..

With new PDF-XChange Editor SDK you will be able to set/get all parameters of operation, with/without dialog.. This SDK is upcoming, please wait...

Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
RaduC
User
Posts: 9
Joined: Thu May 23, 2013 1:31 pm

Re: GetProperty after operations dialog

Post by RaduC »

Hi Vasyl,

Thank you for your response. I'll try to do a "hack" (make my own simpler dialog) until the next SDK is out.

Best regards,
Radu
Last edited by RaduC on Tue May 28, 2013 9:14 am, edited 1 time in total.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: GetProperty after operations dialog

Post by Stefan - PDF-XChange »

:)