How to export a Google Slide to a pdf in portrait orientation using App Script? - pdf

I know how to export a slide into a pdf using App Script with such a kind of code :
folder.createFile(holderFile.getBlob()).setName(PropertiesService.getScriptProperties().getProperty(diplomenumber) + '.pdf');
but the problem is that the pdf generated is in landscape orientation instead of portrait orientation even if my slide is in portrait orientation.
So I was wondering if there is a solution to get the pdf generated from Google Slides in portrait orientation using App Script.
Thanks for any good advices.

Related

Force windows WebView to load content in Portrait mode

I have windows phone 8.1 game created on unity3d. It's support landscape orientation only. But I need a WebView in my game to load a page in portrait mode.
How to force WebView to load content in Portrait mode?
This is not exactly what i need, but for now i use
DisplayInformation.AutoRotationPreferences = DisplayOrientations.Portrait;
when WebView load a page, and
DisplayInformation.AutoRotationPreferences = DisplayOrientations.Landscape;
when close WebView and go back to game.

Dynamic PDF - Links not working on iPad

Can anyone shine any light on why an interactive PDF's buttons would not display on a iPad?
The following link - http://www.liquidclients.co.uk/ricky/test2.pdf works fine on desktop - but doesnt load buttons on an iPad
The built in PDF rendering API in iOS renders only the page content. Annotations are not rendered. Interactive buttons are widget annotations so they are not displayed.
This is by design.
You might try out PDFExpert by Readdle, which is said to be the leading PDF viewer for iDevices at the moment.

add TOC to PDF that has both portrait and landscape pages

http://www.aspose.com/docs/display/pdfnet/Add+TOC+to+Existing+PDF
I am trying to add a TOC to a PDF that has both portrait and landscape pages similar to the example above. That causes all the pages in the PDF to become portrait and the landscape pages are cut off. Any idea what is causing that or how to fix?
Thanks
The issue has been resolved in the new version of aspose.pdf.

Xcode 6 custom launch screen

I am trying to make a custom launch screen based Xcode 6 new feature following the content given here. I don't understand how can I manage orientation of launch screen on iPad. My launch screen contains a horizontal rectangular image in the centre. Using size classes I can set different constraints and views for iPhone in landscape or portrait mode. But unable to do the same for iPad. Also how can I lock the orientation of Launch screen when creating a launch screen using the above method ?
You can not do this for the iPad because both orientations fall under the regular width and regular height size class.

Start iPad application both in landscape and portrait mode

Right now when I start my iPad application, if I'm turning my device in landscape mode then my rootConroller automatically turns my table from portrait to landscape mode. The problem is that it does so by animating the transition. Instead I would like the app to start in landscape mode right away. I've also created an image called Default-Landscape.png which is ignored, so I suspect I have to tweak something in the plist file?
Set your orientation to UISupportedInterfaceOrientations in the Info.plist file