BoundsCheckMode

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum> com.aspose.ms.System.Enum com.aspose.pdf.boundscheckablelist.BoundsCheckMode, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>, com.aspose.ms.System.Enum com.aspose.pdf.boundscheckablelist.BoundsCheckMode, com.aspose.ms.System.Enum, com.aspose.pdf.boundscheckablelist.BoundsCheckMode

public final class BoundsCheckMode extends com.aspose.ms.System.Enum

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

Fields

FieldDescription
DefaultDefault behavior: Add items without bounds checking.
ThrowExceptionIfDoesNotFitThrow BoundsNotFitException if an item doesn’t fit within the given container dimensions (inclusive).

Default

public static final int Default

Default behavior: Add items without bounds checking.

ThrowExceptionIfDoesNotFit

public static final int ThrowExceptionIfDoesNotFit

Throw BoundsNotFitException if an item doesn’t fit within the given container dimensions (inclusive).