com.aspose.note

Class KeepSolidObjectsAlgorithm



  • public class KeepSolidObjectsAlgorithm
    extends PageSplittingAlgorithm

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

    • Field Detail

      • DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART

        public static final float DEFAULT_HEIGHT_LIMIT_OF_CLONED_PART

        The default max size of cloned part.

        See Also:
        Constant Field Values
    • Constructor Detail

      • KeepSolidObjectsAlgorithm

        public KeepSolidObjectsAlgorithm()

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

      • KeepSolidObjectsAlgorithm

        public KeepSolidObjectsAlgorithm(float heightLimitOfClonedPart)

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

        Parameters:
        heightLimitOfClonedPart - The max height of cloned part.
    • Method Detail

      • getHeightLimitOfClonedPart

        public float getHeightLimitOfClonedPart()

        Gets the height limit of cloned part.