Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Bullet points? #59

Closed
dhinakarangit opened this issue Jun 28, 2020 · 1 comment
Closed

How to use Bullet points? #59

dhinakarangit opened this issue Jun 28, 2020 · 1 comment

Comments

@dhinakarangit
Copy link

dhinakarangit commented Jun 28, 2020

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
Copy link
Author

dhinakarangit commented Jun 30, 2020

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;
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant