VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor.Xlsx Namespace / XlsxDocumentSheet Class / SetColumnsIsHidden(Int32,Int32,Boolean) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SetColumnsIsHidden(Int32,Int32,Boolean) Method (XlsxDocumentSheet)
In This Topic
Sets the visibility status of columns.
Syntax
'Declaration

Public Sub SetColumnsIsHidden( _
ByVal columnIndex
The index of first column to index.
As System.Int32, _
ByVal columnCount
The count of columns to index.
As System.Int32, _
ByVal isHidden
A value indicating whether the column must be set as hidden.
As Boolean _
)
public void SetColumnsIsHidden(
System.Int32 columnIndex,
System.Int32 columnCount,
bool isHidden
)

Parameters

columnIndex
The index of first column to index.
columnCount
The count of columns to index.
isHidden
A value indicating whether the column must be set as hidden.
Exceptions
ExceptionDescription
Thrown if columnIndex or columnIndex+columnCount is less than zero -or- columnIndex or columnIndex+columnCount is equal to or greater 16383.
Requirements

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

See Also