We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Apply Custom Style to Presentation Table


is there any way to configure a font style for a whole presentation table in .Net Core?  
I did find the "BuiltInTableStyle" where the "Custom" Enum throws an error - but in my case "None" works. But also this only affects the styling of the table, not it´s cells.

So while I was not able to figure out how to apply a font style to a table, I created a little workaround like this with a "foreach":

            IPresentation presentation = Presentation.Create();
            presentation.PresentationRenderer = new PresentationRenderer();
            ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank);
            ITable table = slide.Shapes.AddTable(5, 3, 0, 60, 900, 350);
            var cell = table[0, 0];
            cell.TextBody.AddParagraph("The first text.");
            cell.TextBody.AddParagraph("The second text.");
            foreach(var par in cell.TextBody.Paragraphs)
                par.Font.FontName = "Arial";
                par.Font.FontSize = 8;

Why is the FontName and FontSize applied in the first Paragraph, but not in the second?
I´m using Syncfusion.Presentation.Net.Core <= This version was sent to me by Jamie Whitfield, because I requested the "GetActualHeight" feature for tables in .net Core presentations.

3 Replies

VA Vijayasurya Anandhan Syncfusion Team June 13, 2019 06:36 PM UTC

Hi Steffen,

Thank your for contacting Syncfusion support.

We can reproduce and confirm that the issue with “Font size is not applied for the second paragraph” is a defect. We have logged a defect report.
The fix for this defect is estimated to be available on 21st June 2019.

Note: Since you have not mentioned your product version, we will provide you the patch for this issue in our latest released 2019 Volume 1 SP1 release version ( . If you are using any other Essential Studio version then kindly let us know the currently installed version, so that we can provide a patch in that version based on our SLA policy.

Please let us know if you have any questions.
Vijayasurya A

RM Ramaraj Marimuthu Syncfusion Team June 21, 2019 09:04 AM UTC

Hi Steffen,

Thank you for your patience.

The issue with “Font size is not applied for the second paragraph of the table cell” has been fixed and the patch for this fix can be downloaded from the following location.

Recommended approach - exe will perform automatic configuration
Please find the patch setup from below location:

Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location:

Assembly Version:
Installation Directions: 
This patch should replace the files “Syncfusion.Presentation.Portable.dll” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\ netstandard2.0 
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\ 17.1.0. 47\precompiledassemblies\ 17.1.0. 47\ netstandard2.0

To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.

To change how you receive bug fixes, ask your license management portal admin to change your project’s patch delivery mode.


Please note that we have created this patch for version specifically to resolve the following issue reported in this forum 145117.

If you have received other patches for the same version for other products, please apply all patches in the order received.

This fix will be included in our upcoming 2019 Volume 2 SP1 release which is estimated to be available at the end of July 2019 tentatively.

Ramaraj Marimuthu.

VA Vijayasurya Anandhan Syncfusion Team October 4, 2019 01:53 PM UTC

Hi Steffen, 
We are glad to announce that our Essential Studio 2019 Volume 3 release v17.3.0.14 is rolled out which contains the fix for the reported issue with "Font size is not applied for the second paragraph of the table cell" and is available for download under the following link. 

Please find the release notes from the following link.

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Vijayasurya A

Live Chat Icon For mobile
Up arrow icon