Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Setting of Column font size when Exporting to Excel from UltraWebGrid
posted

Hi I'm trying to format my font sizes when exporting to Excel and have no luck so far. I've looked at all the porperties under
e.CurrentWorksheet.Columns[0].CellFormat.Font but couldn't find anything that sets the font size. Any one with suggestions what to use and if this is possible in Excel engine in the 7.1 release?

Parents
  • 44743
    posted

    The CellFormat.Font.Height property should change the size of the font. This property is in twips (20ths of a point), so if you want the font to have a height of 10 points, set the Height property to 200.

Reply Children