MESCIUS SPREAD for Windows Forms 17.0J
ExcelExportFormat プロパティ (GcNumberCellType)

Excel エクスポート書式を取得または設定します。
構文
'Declaration
 
Public Overrides Property ExcelExportFormat As String
public override string ExcelExportFormat {get; set;}

プロパティ値

Excel エクスポート書式。
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell1.Fields.SetFields("###.##", "", "", "-", "");           
ncell1.ExcelExportFormat = "###.#";
fpSpread1.ActiveSheet.Cells[1, 1].CellType = ncell1;
fpSpread1.ActiveSheet.Cells[1, 1].Value = 12.31;
listBox1.Items.Add(ncell1.ExcelExportFormat);
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell1.Fields.SetFields("###.##", "", "", "-", "")       
ncell1.ExcelExportFormat = "###.#"
fpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
fpSpread1.ActiveSheet.Cells(1, 1).Value = 12.31
ListBox1.Items.Add(ncell1.ExcelExportFormat)
参照

GcNumberCellType クラス
GcNumberCellType メンバ

 

 


© MESCIUS inc. All rights reserved.