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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set default font name for the entire worksheet?

Thread ID:





98224 Feb 15,2011 03:16 PM UTC Feb 16,2011 07:24 AM UTC ASP.NET Web Forms (Classic) 2
Tags: XlsIO
Ram Thatikonda
Asked On February 15, 2011 03:16 PM UTC

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!

Ram Thatikonda
Replied On 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!

Sridhar [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon