---
title: "Enum BoundsCheckMode"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/boundscheckmode/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.BoundsCheckMode enum. Specifies the behavior for bounds checking when adding items to a collection"
---

## BoundsCheckMode enumeration

Specifies the behavior for bounds checking when adding items to a collection.

```csharp
public enum BoundsCheckMode
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Default | `0` | Default behavior: Add items without bounds checking. |
| ThrowExceptionIfDoesNotFit | `1` | Throw BoundsNotFitException if an item doesn't fit within the given container dimensions (inclusive). |

### See Also

* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


