XLSCellAreas5: Class TCellAreas

# Class TCellAreas

Description | Hierarchy | Fields | Methods | Properties

## Unit

XLSCellAreas5

## Declaration

`type TCellAreas = class(TBaseCellAreas)`

## Description

Base class for objects that manipulates cell areas.

## Hierarchy

- TObjectList
- TBaseCellAreas
- TCellAreas

## Overview

### Methods

| `function Last: TCellArea;`
| `procedure Copy(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); override;`
| `procedure Delete(const Col1,Row1,Col2,Row2: integer); overload; override;`
| `function Include(const Col1,Row1,Col2,Row2: integer): TCellArea; override;`
| `procedure Move(const DeltaCol,DeltaRow: integer); overload; override;`
| `procedure Move(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); overload; override;`

## Description

### Methods

| `function Last: TCellArea;`

| `procedure Copy(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); override;`
Copies cell areas. Copies the cell areas that intersects the area given by Col1,Row1, Col2,Row2. The areas are copied DeltaCol and DeltaRow offset from their current position. DeltaCol and DeltaRow can be negative for copying left/up. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row. ˜param DeltaCol How many columns to the right (positive) or left (negative) the areas shall be copied. ˜param DeltaRow How many rows down (positive) or up (negative) the areas shall be copied.

| `procedure Delete(const Col1,Row1,Col2,Row2: integer); overload; override;`
Delete areas. Delete the areas that intersects the area given by Col1,Row1,Col2,Row2. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row.

| `function Include(const Col1,Row1,Col2,Row2: integer): TCellArea; override;`
Includes areas. All areas that intersects the area given by Col1,Row1,Col2,Row2 are kept. All others are deleted. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row.

| `procedure Move(const DeltaCol,DeltaRow: integer); overload; override;`
Moves areas. Move all areas by the offset DeltaCol,DeltaRow. DeltaCol and DeltaRow can be negative for moving left/up. ˜param DeltaCol How many columns to the right (positive) or left (negative) the areas shall be moved. ˜param DeltaRow How many rows down (positive) or up (negative) the areas shall be moved.

| `procedure Move(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); overload; override;`
Moves areas. Move all areas that intersects the area given by Col1,Row1,Col2,Row2, by the offset DeltaCol,DeltaRow. DeltaCol and DeltaRow can be negative for moving left/up. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row. ˜param DeltaCol How many columns to the right (positive) or left (negative) the areas shall be moved. ˜param DeltaRow How many rows down (positive) or up (negative) the areas shall be moved.

Generated by PasDoc 0.12.1 on 2013-03-18 12:36:47