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
GetProperty after operations dialog
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: GetProperty after operations dialog
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.
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 9
- Joined: Thu May 23, 2013 1:31 pm
Re: GetProperty after operations dialog
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
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.
-
- Site Admin
- Posts: 19868
- Joined: Mon Jan 12, 2009 8:07 am