Spread Windows Forms 6.0 Product Documentation
GetRowAutoText Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetRowAutoText Method


row
Row index of the row header

Glossary Item Box

Gets the automatic text displayed in the row header for the specified row on this sheet.

Syntax

Visual Basic (Declaration) 
Public Function GetRowAutoText( _
   ByVal row As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim value As String
 
value = instance.GetRowAutoText(row)
C# 
public string GetRowAutoText( 
   int row
)

Parameters

row
Row index of the row header

Return Value

String containing the automatic text in the specified row header

Remarks

If the row header displays custom text, this method returns a null value.

Example

This example illustrates the use of this member by returning the text for the specified row header.
C#Copy Code
string s;
s = fpSpread1.ActiveSheet.GetRowAutoText(1);
listBox1.Items.Add(s);
Visual BasicCopy Code
Dim s As String
s = FpSpread1.ActiveSheet.GetRowAutoText(1)
ListBox1.Items.Add(s)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.