KeepPartAndCloneSolidObjectToNextPageAlgorithm
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.note.PageSplittingAlgorithm
public class KeepPartAndCloneSolidObjectToNextPageAlgorithm extends PageSplittingAlgorithm
Adds object’s top part to the bottom of the page and clones full object to the next page in case it doesn’t fit in original page.
Constructors
Constructor | Description |
---|---|
KeepPartAndCloneSolidObjectToNextPageAlgorithm() | Initializes a new instance of the KeepPartAndCloneSolidObjectToNextPageAlgorithm class, using default height limit of cloned part. |
KeepPartAndCloneSolidObjectToNextPageAlgorithm(float heightLimitOfClonedPart) | Initializes a new instance of the KeepPartAndCloneSolidObjectToNextPageAlgorithm class, using specific height limit of cloned part. |
Fields
Field | Description |
---|---|
DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART | The default max size of cloned part. |
Methods
Method | Description |
---|---|
getHeightLimitOfClonedPart() | Gets the height limit of cloned part. |
KeepPartAndCloneSolidObjectToNextPageAlgorithm()
public KeepPartAndCloneSolidObjectToNextPageAlgorithm()
Initializes a new instance of the KeepPartAndCloneSolidObjectToNextPageAlgorithm class, using default height limit of cloned part.
KeepPartAndCloneSolidObjectToNextPageAlgorithm(float heightLimitOfClonedPart)
public KeepPartAndCloneSolidObjectToNextPageAlgorithm(float heightLimitOfClonedPart)
Initializes a new instance of the KeepPartAndCloneSolidObjectToNextPageAlgorithm 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
public static final float DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART
The default max size of cloned part.
getHeightLimitOfClonedPart()
public float getHeightLimitOfClonedPart()
Gets the height limit of cloned part.
Returns: float