I have a series of images that I want to consistently embed in a powerpoint document at the same position on the page.
I can do the image import piece, but I need the powerpoint dimensions to be specifiable by the user.
I think I can use the slide_height and slide_width. I'm trying code like this, to get a page 300mm high, but it isn't working:
pack = Presentation(pptx=None)
pack.slide_height(300)
pack.save('test.pptx')
It throws a "TypeError: 'Emu' object is not callable" error.
I'm sure this is really obvious, but I can't see what the syntax should be, and the documentation isn't helping me. Would anyone be able to correct my code?
Many thanks,
Jeff.