0
자바 스크립트 API를 사용하여 Google 슬라이드를 만듭니다. 페이지 크기를 설정해야하지만 작동하지 않습니다. 아래는 제 코드입니다.자바 스크립트 API로 Google 슬라이드의 PageSize를 설정하십시오.
var size = {
width:{
magnitude: 612,
unit: "PT"
},
height: {
magnitude: 792,
unit: 'PT'
}};
gapi.client.slides.presentations.create({
title: "Some title",
pageSize: size
}).then((response) => {
var presentationId = response.result.presentationId;
})