Class

# CellRange

<div class="rst-class">

forsearch

</div>

PDF

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

A range of cells in a `PDFTableDataSource</api/pdf/pdftabledatasource>`.

## Properties

<div class="rst-class">

table-centered_columns_3_and_4

</div>

| Name                                 | Type                               | Read-Only | Shared |
|--------------------------------------|------------------------------------|-----------|--------|
| `EndColumn<cellrange.endcolumn>`     | `Integer</api/data_types/integer>` |           |        |
| `StartColumn<cellrange.startcolumn>` | `Integer</api/data_types/integer>` |           |        |

## Methods

<div class="rst-class">

table-centered_column_4

</div>

| Name                                 | Parameters                                                                                         | Returns | Shared |
|--------------------------------------|----------------------------------------------------------------------------------------------------|---------|--------|
| `Constructor<cellrange.constructor>` | startColumn As `Integer</api/data_types/integer>`, endColumn As `Integer</api/data_types/integer>` |         |        |

## Property descriptions

<div id="cellrange.endcolumn">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

CellRange.EndColumn

**EndColumn** As `Integer</api/data_types/integer>`

> The number of the last column in the range.

<div id="cellrange.startcolumn">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

CellRange.StartColumn

**StartColumn** As `Integer</api/data_types/integer>`

> The number of the first column in the range.

## Method descriptions

<div id="cellrange.constructor">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

CellRange.Constructor

**Constructor**(startColumn As `Integer</api/data_types/integer>`, endColumn As `Integer</api/data_types/integer>`)

> Creates a <span class="title-ref">CellRange</span> from the values passed.
>
> <div class="note">
>
> <div class="title">
>
> Note
>
> </div>
>
> `Constructors</api/language/constructor>` are special methods called when you create an object with the `New</api/language/new>` keyword and pass in the parameters above.
>
> </div>

## Sample code

This example creates a <span class="title-ref">CellRange</span> from columns 3 to 5:

``` xojo
Var range As New CellRange(3, 5)
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div id="cellrange.see_also">

<div class="seealso">

`PDFDocument</api/pdf/pdfdocument>`, `PDFTable</api/pdf/pdftable>` and `PDFTableDataSource</api/pdf/pdftabledatasource>`

</div>

</div>
