### IViewPort::Style

  This nested class defines the data type used for styles of the IViewPort class. The available styles are defined as static data members in IViewPort. Objects of this Style class represent characteristics of an IViewPort object that you can specify when you construct it.

  These style objects are used with the IViewPort::defaultStyle and IViewPort::setDefaultStyle functions, and with the IViewPort constructor. You can use these styles along with the styles defined in the base classes of IViewPort:

  - ICanvas
  - IWindow

  Once you have constructed an IViewPort object, you can use IViewPort, ICanvas, and IWindow member functions to query and change individual styles.

#### Portability Considerations

  In AIX Open Class Library does not support having one scroll bar created with the style asNeeded and the other scroll bar with the style always. If you use this combination of styles, both scroll bars are always displayed. All other combinations of displaying scroll bars are supported.

### IViewPort::Style - Member Functions and Data by Group

### IViewPort::Style - Inherited Member Functions and Data

#### Inherited Public Functions

  IBitFlag

  -     IString asDebugInfo() const

  -     IString asString() const

  -     static unsigned long maxNumberOfBits()

  -     bool operator !=(const IBitFlag& rhs) const

  -     bool operator ==(const IBitFlag& rhs) const

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IBitFlag

  -     IBitFlag bitwiseAnd(const IBitFlag& rhs) const

  -     IBitFlag bitwiseOr(const IBitFlag& rhs) const

  -     bool comparisonAnd(const IBitFlag& rhs) const

  -     IBitFlag()

  -     IBitFlag(const IBitFlag& bitFlag)

  -     IBitFlag( unsigned long count,
                  const unsigned long bitIndex [ ] )

  -     IBitFlag negate() const

  -     IBitFlag& setValue(const IBitFlag& bitFlag)

#### Inherited Protected Data

  - None