### ISize

  The ISize class uses its coordinates to represent a rectangular size, in horizontal and vertical dimensions.

#### OS/2 Considerations

  You can also construct objects of this class using the following:

  - A Presentation Manager Toolkit SIZEL structure.
  - A Presentation Manager Toolkit RECTL structure; in this case, the resulting ISize object represents the size of the RECTL.

### ISize - Member Functions and Data by Group

### Constructors & Destructor

You can construct, copy, and assign objects of this class. This class uses the compiler-generated copy constructor and assignment operator to copy and assign ISize objects.

ISize
  Construct and destruct ISize objects.

  Overload 1

      public:
      ISize(const IPair& pair)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 2

      public:
      ISize(Coord width, Coord height)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 3

      public:
      ISize(const SIZEL& sizl)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

  Overload 4

      public:
      ISize()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 5

      public:
      ISize(const struct _RECTL& rcl)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### Conversions

Use these members to return an ISize object in a different form.

asSIZEL

      public:
      SIZEL asSIZEL() const

  Returns the ISize as a Presentation Manager Toolkit SIZEL structure.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### Coordinates

Use these members to query and change the ordered pair of integers in an ISize object.

height

      public:
      Coord height() const

  Returns the height represented by the ISize object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

setHeight

      public:
      ISize& setHeight(Coord cy)

  Sets the size's height.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

setWidth

      public:
      ISize& setWidth(Coord cx)

  Sets the size's width.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

width

      public:
      Coord width() const

  Returns the width represented by the ISize object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### ISize - Inherited Member Functions and Data

#### Inherited Public Functions

  IPair

  -     IString asDebugInfo() const

  -     IString asString() const

  -     Coord coord1() const

  -     Coord coord2() const

  -     double distanceFrom(const IPair& aPair) const

  -     long dotProduct(const IPair& aPair) const

  -     IPair(Coord init)

  -     IPair()

  -     IPair(Coord coord1, Coord coord2)

  -     IPair maximum(const IPair& aPair) const

  -     IPair minimum(const IPair& aPair) const

  -     bool operator !=(const IPair& aPair) const

  -     IPair& operator %=(const IPair& aPair)

  -     IPair& operator %=(long divisor)

  -     IPair& operator *=(double multiplier)

  -     IPair& operator *=(const IPair& aPair)

  -     IPair& operator +=(const IPair& aPair)

  -     IPair operator -() const

  -     IPair& operator -=(const IPair& aPair)

  -     IPair& operator /=(double divisor)

  -     IPair& operator /=(const IPair& aPair)

  -     bool operator <(const IPair& aPair) const

  -     bool operator <=(const IPair& aPair) const

  -     bool operator ==(const IPair& aPair) const

  -     bool operator >(const IPair& aPair) const

  -     bool operator >=(const IPair& aPair) const

  -     IPair& scaleBy(double xFactor, double yFactor)

  -     IPair scaledBy(double xFactor, double yFactor) const

  -     IPair& setCoord1(Coord coord1)

  -     IPair& setCoord2(Coord coord2)

  -     IPair& transpose()

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None