heavysixer / node-pptx

Generate PPTX files on the server-side with JavaScript.
MIT License
161 stars 44 forks source link

How to use Bullet points? #59

Closed dhinakarangit closed 4 years ago

dhinakarangit commented 4 years ago

Hi - I am new to Node JS and wanted to create a PPT with bullet points using node-pptx. Could you please add examples for bullet points example or let me know how to do it?

dhinakarangit commented 4 years ago

I am able to add bullet points using the below code..

slide.addText(text => { text.x(10) .y(10) .value([ 'value 1', 'value 2', 'value 3' ]); text.options.bulletType = PPTX.BulletTypes.FILLED_SQUARE;
});