GetAdjacentVisibleColumn(Int32,Boolean) Method (Worksheet)
Returns the index of adjacent visible column.
'Declaration
Public Function GetAdjacentVisibleColumn( _
ByVal columnIndexThe column index.
As System.Int32, _
ByVal As Boolean _
) As System.Int32
public System.Int32 GetAdjacentVisibleColumn(
System.Int32 columnIndex,
bool
)
public: System.Int32 GetAdjacentVisibleColumn(
System.Int32 columnIndex,
bool
)
public:
System.Int32 GetAdjacentVisibleColumn(
System.Int32 columnIndex,
bool
)
Parameters
- columnIndex
- The column index.
- next
- A value indicating whether worksheet should get next or previous column.
Return Value
The index of adjacent visible column.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5