com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class SaveOptions.MarginPartStyle

  • Enclosing class:
    SaveOptions


    public static class SaveOptions.MarginPartStyle
    extends Object

    Represents information of one part of margin(top, botom, left side or right side)

    • Constructor Detail

      • MarginPartStyle

        public MarginPartStyle(int valueInPoints)

        Creates instance of MarginPartStyle class and set its value in points

        Parameters:
        valueInPoints - Integer value in points
      • MarginPartStyle

        public MarginPartStyle(boolean isAuto)

        Creates instance of MarginPartStyle class and initializes its value in points

        Parameters:
        isAuto - Mark margin auto
    • Method Detail

      • isAuto

        public final boolean isAuto()

        Gets or sets a value indicating whether this instance is auto.

        Value: true if this instance is auto; otherwise, false.
        Returns:
        boolean value
      • setAuto

        public final void setAuto(boolean value)

        Gets or sets a value indicating whether this instance is auto.

        Value: true if this instance is auto; otherwise, false.
        Parameters:
        value - boolean value
      • getValueInPoints

        public final int getValueInPoints()

        Represents margin in points. Must be number greater then zero.

        Returns:
        int value
      • setValueInPoints

        public final void setValueInPoints(int value)

        Represents margin in points. Must be number greater then zero.

        Parameters:
        value - int value