How do I increase the size of a page in Google Slides? Is there an API? Right now the page size is confined to 8.5 to 11. It doesn't seem to recognize Page Size Properties
The following is not working in Java, is this a bug perhaps with Google Slides API?
String titleSlide = "SlideTest"; Dimension ptHeight = new Dimension().setMagnitude(100500.0).setUnit("PT"); Dimension ptWidth= new Dimension().setMagnitude(100500.0).setUnit("PT"); Presentation presentation = new Presentation() .setPageSize(new Size() .setHeight(ptHeight) .setWidth(ptWidth)) .setTitle(titleSlide); presentation = service.presentations() .create(presentation) .setFields("presentationId") .execute(); Resources:
Google Slide API CreateSlideRequest
Google Slide API PageElementProperties
https://stackoverflow.com/questions/66715704/google-slides-increase-size-of-page-to-draw-objects-with-api March 20, 2021 at 05:18AM
没有评论:
发表评论