com.aspose.html.drawing

Class Page

  • All Implemented Interfaces:
    Cloneable


    public class Page
    extends Object
    implements Cloneable

    Represents a page object is used for configuration output page. The lacuna value for page size is A4(210x297mm)

    • Constructor Detail

      • Page

        public Page(Size size,
                    Margin margin)

        Initializes a new instance of the Page class.

        Parameters:
        size - The page size.
        margin - The margin.
      • Page

        public Page(Size size)

        Initializes a new instance of the Page class.

        Parameters:
        size - The page size.
      • Page

        public Page(Margin margin)

        Initializes a new instance of the Page class.

        Parameters:
        margin - The margin.
      • Page

        public Page()

        Initializes a new instance of the Page class.

    • Method Detail

      • getSize

        public Size getSize()

        Gets or sets the page size.

        Value: The size.
      • setSize

        public void setSize(Size value)

        Gets or sets the page size.

        Value: The size.
      • getMargin

        public Margin getMargin()

        Gets or sets the page margin.

        Value: The margin.
      • setMargin

        public void setMargin(Margin value)

        Gets or sets the page margin.

        Value: The margin.
      • deepClone

        public Page deepClone()