<< Return to Main Index

< Return to Class Index

CGXRangeList Class Members

Operations

operator= Copies all its contents from another rangelist.
IsCellInList Determines if the cell is part of at least one range in the list.
FindRange Searches for a range in the list which contains the specified cell.
IsAnyCellFromCol Determines if at least one range in the list intersects the specified column.
IsAnyCellFromRow Determines if at least one range in the list intersects the specified row.
GetColArray This method loops through each range in the list and returns an array of columns. If there are intersections, ranges will be combined. The array is sorted by value.
GetRowArray This method loops through each range in the list and returns an array of rows. If there are intersections, ranges will be combined. The array is sorted by value.

Moving, inserting or removing rows or columns

InsertRows Call this method to update the ranges in the list after you have inserted rows in the table.
InsertCols Call this method to update the ranges in the list after you have inserted columns in the table.
RemoveRows Call this method to update the ranges in the list after you have removed rows in the table.
RemoveCols Call this method to update the ranges in the list after you have removed columns in the table.
MoveRows Call this method to update the ranges in the list after you have moved rows in the table.
MoveCols Call this method to update the ranges in the list after you have moved columns in the table.

CGXRangeList

Class Overview