---
title: "Class BoundsOutOfRangeException"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/boundsoutofrangeexception/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.BoundsOutOfRangeException class. Represents an exception which occurs when an item doesnt fit within the given container dimensions"
---

## BoundsOutOfRangeException class

Represents an exception which occurs when an item doesn't fit within the given container dimensions.

```csharp
public class BoundsOutOfRangeException : PdfException
```

## Constructors

| Name | Description |
| --- | --- |
| [BoundsOutOfRangeException](boundsoutofrangeexception/#constructor)() | Initializes a new instance of the `BoundsOutOfRangeException` class. |
| [BoundsOutOfRangeException](boundsoutofrangeexception/#constructor_1)(string) | Initializes a new instance of the `BoundsOutOfRangeException` class with a specified error message. |
| [BoundsOutOfRangeException](boundsoutofrangeexception/#constructor_2)(string, double, double) | Initializes a new instance of the `BoundsOutOfRangeException` class with a specified error message and item dimensions. |

### See Also

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


