次のサンプル コードは、エンコードを OFF にして HTML タグを許可する方法を示します。
FpSpread1.EncodeValue = false;
FpSpread1.Sheets[0].Cells[1, 1].Value = "Hello<B>World</B>.Y=X<SUP>2</SUP>";
FpSpread1.Sheets[0].Cells[2, 1].Value = "<AHREF='http://www.grapcity.com/'>GrapeCity</A>-creators of Spread"
FpSpread1.Sheets[0].Cells[3, 1].Value = "Break here<BR>to anew line"
FpSpread1.Sheets[0].Cells[4, 1].Value = "<AHREF=""mailto:fpdocs@grapecity.com">Send doc feedback</a>."
FpSpread1.EncodeValue = False
FpSpread1.Sheets(0).Cells(1, 1).Value = "Hello<B>World</B>"
FpSpread1.Sheets(0).Cells(2, 1).Value = "<AHREF='http://www.grapecity.com/'>GrapeCity</a>-creators of Spread"
FpSpread1.Sheets(0).Cells(3, 1).Value = "Break here<BR>to anew line"
FpSpread1.Sheets(0).Cells(4, 1).Value = "<AHREF=""mailto:fpdocs@grapecity.com">Send feedback</a>."