---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/BoundsCheckableList
---

# BoundsCheckableList

## Overview

`BoundsCheckableList` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `System.Collections.Generic.IEnumerable`.

A list of T that optionally enforces container bounds on insertion.

This class provides 13 methods for working with BoundsCheckableList objects in .NET programs.
Available methods include: `Add`, `BoundsCheckableList`, `Clear`, `Contains`, `CopyTo`, `GetEnumerator`, `IndexOf`, `Insert`, `Remove`, `RemoveAt`, `UpdateBoundsCheckMode`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Count`, `IsReadOnly`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Count` | `int` | Read | Gets the count. |
| `IsReadOnly` | `bool` | Read | Gets the is read only. |

## Methods

| Signature | Description |
|-----------|-------------|
| `BoundsCheckableList()` | Calls BoundsCheckableList on this BoundsCheckableList instance. |
| `BoundsCheckableList(boundsCheckMode: BoundsCheckMode, containerWidth: double, containerHeight: double)` |  |
| `Add(item: T)` | Calls Add on this BoundsCheckableList instance. |
| `Clear()` | Calls Clear on this BoundsCheckableList instance. |
| `Contains(item: T)` | Calls Contains on this BoundsCheckableList instance. |
| `CopyTo(array: T[], arrayIndex: int)` | Calls CopyTo on this BoundsCheckableList instance. |
| `IndexOf(item: T)` | Calls IndexOf on this BoundsCheckableList instance. |
| `Insert(index: int, item: T)` | Calls Insert on this BoundsCheckableList instance. |
| `Remove(item: T)` | Calls Remove on this BoundsCheckableList instance. |
| `RemoveAt(index: int)` | Calls RemoveAt on this BoundsCheckableList instance. |
| `UpdateBoundsCheckMode(boundsCheckMode: BoundsCheckMode)` | Switch the bounds-check mode without changing the container. |
| `UpdateBoundsCheckMode(boundsCheckMode: BoundsCheckMode, containerWidth: double, containerHeight: double)` | Switch the bounds-check mode and the container dimensions. |
| `GetEnumerator()` | Calls GetEnumerator on this BoundsCheckableList instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)