Gets whether any cells in the specified column on this sheet are selected.
Syntax
Visual Basic (Declaration) | |
---|
Public Function IsAnyCellInColumnSelected( _
ByVal column As Integer _
) As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim column As Integer
Dim value As Boolean
value = instance.IsAnyCellInColumnSelected(column) |
Parameters
- column
- Column index
Return Value
Boolean:
true if any cells in the specified column are selected;
false otherwise
Example
This example illustrates the use of this member by returning whether any cells in the specified column are selected.
C# | Copy Code |
---|
bool b;
fpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4);
b = fpSpread1.ActiveSheet.IsAnyCellInColumnSelected(2);
label1.Text = "Are there any cells in column 2 selected = " + b.ToString(); |
Visual Basic | Copy Code |
---|
Dim b As Boolean
FpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4)
b = FpSpread1.ActiveSheet.IsAnyCellInColumnSelected(2)
Label1.Text = "Are there any cells in column 2 selected = " & b.ToString()
|
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