GrapeCity.Xaml.SpreadSheet.Data
GetColumnAutoText Method
Example 


The column index.
Gets the automatic text displayed in the column header for the specified column.
Syntax
'Declaration
 
Public Function GetColumnAutoText( _
   ByVal column As Integer _
) As String
'Usage
 
Dim instance As Worksheet
Dim column As Integer
Dim value As String
 
value = instance.GetColumnAutoText(column)
public string GetColumnAutoText( 
   int column
)

Parameters

column
The column index.

Return Value

Returns the automatically generated column text.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Specified column index is out of range; must be at least zero.
Example
This example uses the GetColumnAutoText method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualStyleInfo(0, 0, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualStyleInfo(0,1,GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells,false).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnAutoText(1).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualStyleInfo(0, 0, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualStyleInfo(0,1,GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, False).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnAutoText(1).ToString())
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options