【Excel】罫線の太さが5以上に設定した場合、罫線がExcelファイルにエクスポートされない
対象製品
SPREAD for .NET 2.5J Web Forms Edition
発生環境
動作保証環境と同様
状況
修正済み
詳細
罫線のスタイルをSolid、太さを5以上に設定した場合、罫線がExcelファイルにエクスポートされません。
【サンプルコード】
-------------------------
Webフォームクラス
-------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack Then
Return
End If
Dim border As New FarPoint.Web.Spread.Border(BorderStyle.Solid, Drawing.Color.Blue, 5)
FpSpread1.ActiveSheetView.Cells(1, 1).Border = border
FpSpread1.ActiveSheetView.Cells(1, 1).Value = "All"
End Sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim pathname As String = HttpContext.Current.Server.MapPath(Request.ApplicationPath & "/")
FpSpread1.SaveExcel(pathname + "test.xls")
End Sub
【サンプルコード】
-------------------------
Webフォームクラス
-------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack Then
Return
End If
Dim border As New FarPoint.Web.Spread.Border(BorderStyle.Solid, Drawing.Color.Blue, 5)
FpSpread1.ActiveSheetView.Cells(1, 1).Border = border
FpSpread1.ActiveSheetView.Cells(1, 1).Value = "All"
End Sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim pathname As String = HttpContext.Current.Server.MapPath(Request.ApplicationPath & "/")
FpSpread1.SaveExcel(pathname + "test.xls")
End Sub
回避方法
2008/08/27版で修正済み。
キーワード
SPRN06723
この文書は、以前は次のバグレポートIDで公開されていました : 7537