ITextPointSizeStyle

Provides a style whose setting determines the point size of a range of text. A style that controls the point size of a range of text. The point size is specified as a float.

Do not derive your own classes from this class.


ITextPointSizeStyle - Member Functions and Data by Group

Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class ITextPointSizeStyle.


[view class]
~ITextPointSizeStyle
public:
virtual ~ITextPointSizeStyle()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ITextPointSizeStyle
This function constructs an object of class ITextPointSizeStyle.


Overload 1
public:
ITextPointSizeStyle()
Use the default constructor to create an ITextPointSizeStyle object that leaves the style in an undefined state. A default-constructed style must have its value filled in in some way before it is used for anything.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Constructs an object that contains the given point size.
public:
ITextPointSizeStyle(float value)
Use this constructor to create an ITextPointSizeStyle object that is initialized to the given floating point value.

value
The point size to be set for the object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Copy constructor.
public:
ITextPointSizeStyle(const ITextPointSizeStyle& other)
Use this constructor to create an ITextPointSizeStyle object that is copied from the given one.

other
The ITextPointSizeStyle object that is copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

Use the operator in this group to assign the given ITextPointSizeStyle object to the target one.


[view class]
operator =
public:
ITextPointSizeStyle& operator =( const ITextPointSizeStyle& other )
Assignment operator.

other
The ITextPointSizeStyle object to be assigned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two ITextPointSizeStyle Objects for Equality or Inequality

Use the operators in this group to compare two ITextPointSizeStyle objects for equality or inequality.


[view class]
operator !=
public:
bool operator !=(const ITextPointSizeStyle& other) const
Tests the given ITextPointSizeStyle object against the target one for inequality.

other
The ITextPointSizeStyle object to test against the current one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator ==
public:
bool operator ==(const ITextPointSizeStyle& other) const
Tests the given object against the target one for equality.

other
The ITextPointSizeStyle object to test against the current one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting and Setting the Point Size

Use the functions in this group to set and set the point size.


[view class]
pointSize
public:
float pointSize() const
Gets the current setting of the point size.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setPointSize
public:
void setPointSize(float value)
Sets the point size.

value
A floating point value that specifies the point size.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITextPointSizeStyle - Inherited Member Functions and Data

Inherited Public Functions

ICharacterStyle
ITextStyle

Inherited Public Data

Inherited Protected Functions

ITextPointSizeStyle
ITextStyle
ICharacterStyle

Inherited Protected Data