public void TestFontHeightInPoint() { CT_Font ctFont = new CT_Font(); CT_FontSize size = ctFont.AddNewSz(); size.val = (14); ctFont.SetSzArray(0, size); XSSFFont xssfFont = new XSSFFont(ctFont); Assert.AreEqual(14, xssfFont.FontHeightInPoints); xssfFont.FontHeightInPoints = (short)20; Assert.AreEqual(20.0, ctFont.GetSzArray(0).val, 0.0); }