How to use pptxgenjs - 2 common examples

To help you get started, we’ve selected a few pptxgenjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gitbrent / PptxGenJS / demos / react-demo / src / App.js View on Github external
function runDemo() {
		let pptx = new pptxgen();
		let slide = pptx.addSlide();
		slide.addText("React Demo!", { x: 1, y: 1, w: "80%", h: 1, fontSize: 36, fill: "eeeeee", align: "center" });
		pptx.writeFile("react-demo.pptx");

		console.log(`pptx.version = ${pptx.version}`);
	}
github T-Systems-RUS / Portfolio / client / src / store / modules / projects / PowerPointService.ts View on Github external
private static newPresentation() {
    pptx = new PptxGenJS();

    pptx!.setBrowser(true);
    pptx!.setLayout('LAYOUT_4x3');
  }

pptxgenjs

Create JavaScript PowerPoint Presentations

MIT
Latest version published 2 years ago

Package Health Score

58 / 100
Full package analysis

Popular pptxgenjs functions