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
close icon

How to set default font name for the entire worksheet?

How do I set a default font name or custom styles for the entire worksheet? I could all samples that does for a range of cells.

I would appreciate if Syncfusion could you respond to this?

Thank you!


2 Replies

RT Ram Thatikonda February 15, 2011 04:18 PM UTC

I could figure out the code -

sheet.Workbook.StandardFont = "Times New Roman";
sheet.Workbook.StandardFontSize = 10;

Thank you!



SR Sridhar Syncfusion Team February 16, 2011 07:24 AM UTC

Hi Ram,

Thank you for using Syncfusion products.

Thanks for the update.

We can set the Default font and style for the particular used range and the particular sheet as you have updated in the previous post.

Please let us know if you have any clarifications.

Thanks,
Sridhar.S


Loader.
Live Chat Icon For mobile
Up arrow icon