[]
        
(Showing Draft Content)

Size

Class Size

java.lang.Object
com.grapecity.documents.excel.Size

public class Size extends Object
Represents a Size class.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Size(double width, double height)
    Constructs a new instance of the Size class with the specified width and height.
  • Method Summary

    Modifier and Type
    Method
    Description
    final double
    Returns the height of this size.
    final double
    Returns the width of this size.
    final void
    setHeight(double value)
    Sets the height of this size.
    final void
    setWidth(double value)
    Sets the width of this size.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Size

      public Size(double width, double height)
      Constructs a new instance of the Size class with the specified width and height.
      Parameters:
      width - The width of the size.
      height - The height of the size.
  • Method Details

    • getWidth

      public final double getWidth()
      Returns the width of this size.
    • setWidth

      public final void setWidth(double value)
      Sets the width of this size.
    • getHeight

      public final double getHeight()
      Returns the height of this size.
    • setHeight

      public final void setHeight(double value)
      Sets the height of this size.