Create a new Presentation object, set its slide size (e.g., 48x36 inches). :param width_inch: Float or int specifying width in inches (default 48). :param height_inch: Float or int specifying height in inches (default 36). :return: A python-pptx Presentation object.
(width_inch=48, height_inch=36)
| 1263 | return alignment_map.get(alignment, PP_ALIGN.LEFT) |
| 1264 | |
| 1265 | def create_poster(width_inch=48, height_inch=36): |
| 1266 | """ |
| 1267 | Create a new Presentation object, set its slide size (e.g., 48x36 inches). |
| 1268 | |
| 1269 | :param width_inch: Float or int specifying width in inches (default 48). |
| 1270 | :param height_inch: Float or int specifying height in inches (default 36). |
| 1271 | :return: A python-pptx Presentation object. |
| 1272 | """ |
| 1273 | prs = Presentation() |
| 1274 | prs.slide_width = Inches(width_inch) |
| 1275 | prs.slide_height = Inches(height_inch) |
| 1276 | return prs |
| 1277 | |
| 1278 | def add_blank_slide(prs): |
| 1279 | """ |
no test coverage detected