Class DrawingObjectSize

java.lang.Object
com.independentsoft.office.word.drawing.DrawingObjectSize

public class DrawingObjectSize extends Object
The Class DrawingObjectSize.
  • Constructor Details

    • DrawingObjectSize

      public DrawingObjectSize()
      Instantiates a new drawing object size.
    • DrawingObjectSize

      public DrawingObjectSize(Unit width, Unit height)
      Instantiates a new drawing object size.
      Parameters:
      width - the width
      height - the height
    • DrawingObjectSize

      public DrawingObjectSize(long width, long height)
      Instantiates a new drawing object size.
      Parameters:
      width - the width
      height - the height
  • Method Details

    • clone

      public DrawingObjectSize clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getWidth

      public Unit getWidth()
      Gets the width.
      Returns:
      the width
    • setWidth

      public void setWidth(Unit width)
      Sets the width.
      Parameters:
      width - the new width
    • getHeight

      public Unit getHeight()
      Gets the height.
      Returns:
      the height
    • setHeight

      public void setHeight(Unit height)
      Sets the height.
      Parameters:
      height - the new height