com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class PageInfo

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public class PageInfo
    extends Object
    implements com.aspose.ms.System.ICloneable

    Represents the page information.

    • Constructor Detail

      • PageInfo

        public PageInfo()

        default constructor

    • Method Detail

      • deepClone

        public Object deepClone()

        Clone page info.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
        The cloned object
      • getDefaultTextState

        public TextState getDefaultTextState()

        Gets default font.

        Returns:
        TextState value
      • setDefaultTextState

        public void setDefaultTextState(TextState value)

        Sets default font.

        Parameters:
        value - TextState value
      • getHeight

        public double getHeight()

        Gets page height.

        Returns:
        double value
      • setHeight

        public void setHeight(double value)

        Sets page height.

        Parameters:
        value - double value
      • getPureHeight

        public double getPureHeight()

        Gets page pure height without margins.

        Returns:
        double value
      • isLandscape

        public boolean isLandscape()

        Gets is page landscaped.

        Returns:
        boolean value
      • setLandscape

        public void setLandscape(boolean value)

        Sets is page landscaped.

        Parameters:
        value - boolean value
      • getMargin

        public MarginInfo getMargin()

        Gets page margin.

        Returns:
        MarginInfo value
      • setMargin

        public void setMargin(MarginInfo value)

        Sets page margin.

        Parameters:
        value - MarginInfo value
      • getWidth

        public double getWidth()

        Gets page width.

        Returns:
        double value
      • setWidth

        public void setWidth(double value)

        Sets page width.

        Parameters:
        value - double value