com.aspose.html.drawing

Class Page

  • java.lang.Object
    • com.aspose.html.drawing.Page
  • All Implemented Interfaces:
    java.lang.Cloneable


    public class Page
    extends java.lang.Object
    implements java.lang.Cloneable

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

    • Constructor Summary

      Constructors 
      Constructor and Description
      Page()
      Initializes a new instance of the Page class.
      Page(Margin margin)
      Initializes a new instance of the Page class.
      Page(Size size)
      Initializes a new instance of the Page class.
      Page(Size size, Margin margin)
      Initializes a new instance of the Page class.
    • 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()
      • memberwiseClone

        protected java.lang.Object memberwiseClone()