How do I increase the size of a page in Google Slides? Right now the page size is confined to Widescreen 16:9. The following is not working in Java, is this a bug perhaps with Google Slides API? It doesn't seem to recognize Page Size Properties
String titleSlide = "SlideTest"; Dimension ptHeight = new Dimension().setMagnitude(12000.0).setUnit("PT"); Dimension ptWidth= new Dimension().setMagnitude(12000.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-api-increase-page-size-in-create-presentation March 20, 2021 at 05:18AM
没有评论:
发表评论