ITextStrikethroughStyle

Provides a style that determines whether the text it is applied to has a strikethrough bar or not (true means struck through). This class provides a style that determines whether the text that the style is applied will has a strikethrough bar or not. TRUE true means strikethrough is used.

Do not derive your own classes from this class.


ITextStrikethroughStyle - Member Functions and Data by Group

Constructors & Destructor

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


[view class]
~ITextStrikethroughStyle
public:
virtual ~ITextStrikethroughStyle()
Destroys the ITextStrikethroughStyle object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ITextStrikethroughStyle
Constructs an ITextStrikethroughStyle object.


Overload 1
Constructs an ITextStrikethroughStyle object that contains the given strikethrough setting.
public:
ITextStrikethroughStyle(bool isSet)

isSet
The value used to set the strikethrough flag.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Copy constructor.
public:
ITextStrikethroughStyle( const ITextStrikethroughStyle& other )

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Desfault constructor.
public:
ITextStrikethroughStyle()
Use the default constructor to create an object that leaves the style in an undefined state. You must fill in the value for a default-constructed style before you use it.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

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


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

other
The ITextStrikethroughStyle object to be assigned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two ITextStrikethroughStyle Objects for Equality and Inequality

Use the operators in this group to test two ITextStrikethroughStyle objects for equality or inequality.


[view class]
operator !=
public:
bool operator !=( const ITextStrikethroughStyle& other ) const
Compares the given ITextStrikethroughStyle object with the current one for inequality,

other
The ITextStrikethroughStyle object to be compared.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator ==
public:
bool operator ==( const ITextStrikethroughStyle& other ) const
Compares the given ITextStrikethroughStyle object with the current one.

other
The ITextStrikethroughStyle object to be compared.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting and Setting the Strikethrough Flag

Use the functions in this group to get the current setting of the strikethrough flag or to set it.


[view class]
isStrikethrough
public:
bool isStrikethrough() const
Returns the current setting of the strikethrough flag. TRUE means strikethrough will be applied to the text.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setStrikethrough
public:
void setStrikethrough(bool value)
Sets the ITextStrikethroughStyle object's strikethrough flag using the given value.

value
The value used to set the strikethrough flag.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITextStrikethroughStyle - Inherited Member Functions and Data

Inherited Public Functions

ICharacterStyle
ITextStyle

Inherited Public Data

Inherited Protected Functions

ITextStyle
ITextStrikethroughStyle
ICharacterStyle

Inherited Protected Data