How to use the pptxgenjs function in pptxgenjs

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 1 year ago

Package Health Score

62 / 100
Full package analysis

Popular pptxgenjs functions