Check shape bounds in Shapes collection

Introduction

This document provides a detailed guide on using the bounds-checking feature in the Shapes collection. This feature ensures that elements fit within their parent container and can be configured to throw an exception if the component does not fit.

Prerequisites

You will need the following:

  • Visual Studio 2019 or later
  • Aspose.PDF for .NET 25.3 or later
  • A sample PDF file that contains some pages

You can download the Aspose.PDF for .NET library from the official website or install it using the NuGet Package Manager in Visual Studio.