We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need something similar inside a rectangle:
So, I have this code:
slide.addText( [ { text: 'Line1', options: {breakLine:false} }, { text: 'Line 2', options: {bold:true} }, ], {shape: pptx.ShapeType.RECTANGLE, h:1.127, w:1.951, fill:'e5ebef', x:3.778, y:6.911, color:'000000', fontFace:'Arial', fontSize:8, align: 'center', valign:'top'} );
and the result I get is:
By removing the align option:
slide.addText( [ { text: 'Line1', options: {breakLine:false} }, { text: 'Line 2', options: {bold:true} }, ], {shape: pptx.ShapeType.RECTANGLE, h:1.127, w:1.951, fill:'e5ebef', x:3.778, y:6.911, color:'000000', fontFace:'Arial', fontSize:8, valign:'top'} );
the new result is: and if I set align option to the left, I get again a line break:
The text was updated successfully, but these errors were encountered:
@evamansilla Thanks for the fine documentation and examples.
Closing as this is a dupe of Issue #369
Sorry, something went wrong.
No branches or pull requests
I need something similar inside a rectangle:

So, I have this code:
and the result I get is:

By removing the align option:
the new result is:


and if I set align option to the left, I get again a line break:
The text was updated successfully, but these errors were encountered: