
**Inheritance:**
java.lang.Object, [com.aspose.note.PageSplittingAlgorithm](../../com.aspose.note/pagesplittingalgorithm)
```
public class KeepSolidObjectsAlgorithm extends PageSplittingAlgorithm
```

Shifts full object to the next page in case it doesn't fit in original page.
## Constructors

| Constructor | Description |
| --- | --- |
| [KeepSolidObjectsAlgorithm()](#KeepSolidObjectsAlgorithm--) | Initializes a new instance of the `KeepSolidObjectsAlgorithm` class using default height limit of cloned part. |
| [KeepSolidObjectsAlgorithm(float heightLimitOfClonedPart)](#KeepSolidObjectsAlgorithm-float-) | Initializes a new instance of the `KeepSolidObjectsAlgorithm` class using specific height limit of cloned part. |
## Fields

| Field | Description |
| --- | --- |
| [DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART](#DEFAULT-HEIGHT-LIMIT-OF-CLONED-PART) | The default max size of cloned part. |
## Methods

| Method | Description |
| --- | --- |
| [getHeightLimitOfClonedPart()](#getHeightLimitOfClonedPart--) | Gets the height limit of cloned part. |
### KeepSolidObjectsAlgorithm() {#KeepSolidObjectsAlgorithm--}
```
public KeepSolidObjectsAlgorithm()
```


Initializes a new instance of the `KeepSolidObjectsAlgorithm` class using default height limit of cloned part.

### KeepSolidObjectsAlgorithm(float heightLimitOfClonedPart) {#KeepSolidObjectsAlgorithm-float-}
```
public KeepSolidObjectsAlgorithm(float heightLimitOfClonedPart)
```


Initializes a new instance of the `KeepSolidObjectsAlgorithm` class using specific height limit of cloned part.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| heightLimitOfClonedPart | float | The max height of cloned part. |

### DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART {#DEFAULT-HEIGHT-LIMIT-OF-CLONED-PART}
```
public static final float DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART
```


The default max size of cloned part.

### getHeightLimitOfClonedPart() {#getHeightLimitOfClonedPart--}
```
public float getHeightLimitOfClonedPart()
```


Gets the height limit of cloned part.

**Returns:**
float
