> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IInterval

> IInterval type reference for FlexiCapture extraction scripts: StartPos and EndPos properties define the span of a substring in document text.

## Purpose

This type describes the span of a substring in the source text of a document.

## Properties

| Name       | Type | Permissions | Value                                |
| ---------- | ---- | ----------- | ------------------------------------ |
| StartPos() | int  | Read        | The start position of the text span. |
| EndPos()   | int  | Read        | The end position of the text span.   |
