NanoXLSX Library Documentation
![]() | WorksheetSetAutoFilter Method (String) |
Sets the column auto filter within the defined column range
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
public void SetAutoFilter( string range )
Parameters
- range
- Type: SystemString
Range to apply auto filter on. The range could be 'A1:C10' for instance. The end row will be recalculated automatically when saving the file

Exception | Condition |
---|---|
RangeException | Throws an RangeException if the passed range out of range |
FormatException | Throws an FormatException if the passed range is malformed |
