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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
let pptx = new PptxGenJS(); let slide =pptx.addSlide();
var arrTabRows = [ [ { text: 'White', options: { fill: { color: '6699CC' }, color:'FFFFFF' } }, { text: 'Yellow', options: { fill: { color: '99AACC' }, color: 'FFFFAA' } }, { text: 'Pink', options: { fill: { color: 'AACCFF' }, color: 'E140FE' } } ], [ { text: '12pt', options: { fill: { color: 'FF0000' }, fontSize: 12 } }, { text: '20pt', options: { fill: { color: '00FF00' }, fontSize: 20 } }, { text: '28pt', options: { fill: { color: '0000FF' }, fontSize: 28 } } ], [ { text: 'Bold', options: { fill: { color: '003366' }, bold: true } }, { text: 'Underline', options: { fill: { color: '336699' }, underline: true } }, { text: '10pt Pad', options: { fill: { color: '6699CC' }, margin: 10 } } ] ]; slide.addTable( arrTabRows, { x:6.0, y:1.1, w:7.0, rowH:0.75, fill:{color:'F7F7F7'}, color:'FFFFFF', fontSize:16, valign:'center', align:'center', border:{pt:'1', color:'FFFFFF'} } ); pptx.writeFile();
The text was updated successfully, but these errors were encountered:
Maybe it's api fault. This way is workable: options:{underline: { style:"sng"}}
Sorry, something went wrong.
fixed underline (Issue #1052)
5ff0916
added issue #1052
073b608
Thanks @hhq365 - i've updated the table demo code
that's work for me , thank u so much , so for : table : underline = { style:"sng"}; for normal text: underline =true;
gitbrent
No branches or pull requests
let pptx = new PptxGenJS();
let slide =pptx.addSlide();
The text was updated successfully, but these errors were encountered: