←Select platform

SortCellRange Method

Summary

Sorts a specified range of cells within the sheet according to a set of defined sorting options.

Syntax

C#
C++/CLI
Python
public void SortCellRange( 
   CellRange range, 
   CellRangeSortOptions sortOptions 
) 
public:  
   void SortCellRange( 
      CellRange^ range, 
      CellRangeSortOptions^ sortOptions 
   ) 
def SortCellRange(self,range,sortOptions): 

Parameters

range

A CellRange object specifying the range of cells to be sorted. This range defines the boundaries within which the sorting operation will be applied.

sortOptions

A CellRangeSortOptions object detailing the criteria and order for sorting the specified cell range. This includes settings such as sort direction (ascending or descending).

Requirements

Target Platforms

See Also

Sheet Class

Sheet Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.4.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.