Spread Windows Forms 12.0 Product Documentation
ExcelExportFormat Property (GcNumberCellType)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcNumberCellType Class : ExcelExportFormat Property
Gets or sets the excel export format.
Syntax
'Declaration
 
Public Overrides Property ExcelExportFormat As String
'Usage
 
Dim instance As GcNumberCellType
Dim value As String
 
instance.ExcelExportFormat = value
 
value = instance.ExcelExportFormat
public override string ExcelExportFormat {get; set;}

Property Value

The excel export format.
Example
This example sets and gets the ExcelExportFormat property.
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)
See Also

Reference

GcNumberCellType Class
GcNumberCellType Members