com.aspose.note

Class Margins



  • public class Margins
    extends com.aspose.ms.lang.Struct<Margins>

    Specifies the dimensions of the margins of a node.

    • Constructor Detail

      • Margins

        public Margins()
      • Margins

        public Margins(float left,
                       float right,
                       float top,
                       float bottom)

        Initializes a new instance of the Margins struct with the specified left, right, top, and bottom margins.

        Parameters:
        left - The left margin width.
        right - The right margin width.
        top - The top margin width.
        bottom - The bottom margin width.
    • Method Detail

      • getLeft

        public float getLeft()

        Gets or sets the left margin width.

      • setLeft

        public void setLeft(float value)

        Gets or sets the left margin width.

      • getRight

        public float getRight()

        Gets or sets the right margin width.

      • setRight

        public void setRight(float value)

        Gets or sets the right margin width.

      • getTop

        public float getTop()

        Gets or sets the top margin width.

      • setTop

        public void setTop(float value)

        Gets or sets the top margin width.

      • getBottom

        public float getBottom()

        Gets or sets the bottom margin width.

      • setBottom

        public void setBottom(float value)

        Gets or sets the bottom margin width.

      • CloneTo

        public void CloneTo(Margins that)
        Specified by:
        CloneTo in class com.aspose.ms.System.ValueType<Margins>
      • Clone

        public Margins Clone()
        Specified by:
        Clone in class com.aspose.ms.System.ValueType<Margins>