com.aspose.html.drawing

Class Page



  • public class Page
    extends Object

    Represents a page object is used for configuration output page.

    • Constructor Detail

      • Page

        public Page(Size size,
                    Margin margin)

        Initializes a new instance of the Page class.

        Parameters:
        size - The page size.
      • 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:
        size - The page size.
      • Page

        public Page()

        Initializes a new instance of the Page class.

        Parameters:
        size - The page size.
    • 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.