Table of Contents

TExcelFile.GetObjectsInRange Method

Returns a list with all the objects that are completely inside a range of cells.

Syntax

Unit: FlexCel.Core

procedure TExcelFile.GetObjectsInRange(const range: TXlsCellRange; const objectsInRange: TExcelObjectList); virtual; abstract;

Parameters

<-> Parameter Type Description
const range TXlsCellRange Range of cells where we want to find the objects.
const objectsInRange TExcelObjectList In this list we will add all the objects found. Note that the objects will be added to the list, so if you want just the objects in this range, make sure you clear the list before calling this method.

See also