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

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 |
