Hi experts!
I have created an XDP project in Designer 9.0.
Is there some way to specify that PDF-files, generated from this XDP, are have two-up view ?
See on screenshot. I need to have that view by default.
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi,
Try this in the docReady event of the root node:
app.execMenuItem("TwoPages");
See here: http://assure.ly/umTdwf for more examples.
Niall
Views
Replies
Total Likes
Thanks, but my problem didn't solve completely.
Whan I open this PDF in Adobe Acrobat Reader everything works fine - it displays two pages view.
But when I open the same file from Internet Explorer in Adobe Acrobat ActiveX control, it doesn't work, perhaps because in this case menu bar is not visible.
May be there is a way to show menu, exec app.execMenuItem("TwoPages")
and then hide menu from javascript?
Views
Replies
Total Likes
Hi,
I suspect that this may not work either. Both this and hte above method are using the Acrobat scripting environment and I am not sure if all methods are available in a browser.
var oDoc = event.target;
oDoc.layout = "TwoColumnLeft";
Hope that helps,
Niall
Views
Replies
Total Likes
I tried
in the docReady:Event and this seems to work in the Browser.
Views
Replies
Total Likes
Thanks radzmar! Now it works right.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies