IFont::FaceNameCursor

The IFont::FaceNameCursor nested class iterates over the public and private fonts available for a presentation space.


IFont::FaceNameCursor - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
FaceNameCursor
public:
FaceNameCursor( FontType fontType = both, const IPresSpaceHandle& presSpaceHandle = IPresSpaceHandle ( ) )

Constructs a IFont::FaceNameCursor using a FontType enumerator and a presentation space handle. Both parameters are optional. The FontType enumerator specifies which type you want to cursor through. If you do not specify a presentation space, the desktop presentation space is used.

fontType
Type of font to cursor through.
presSpaceHandle
Presentation space handle used to query the available fonts. Optional.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Overrides

Use these members to iterate through the available font face names.


[view class]
invalidate
public:
virtual void invalidate()

Marks the cursor as not valid.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
isValid
public:
virtual bool isValid() const

Returns true if the cursor is valid.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToFirst
public:
virtual bool setToFirst()

Advances the cursor position to the first face name.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToLast
public:
virtual bool setToLast()

Advances the cursor position to the last face name.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToNext
public:
virtual bool setToNext()

Advances the cursor position to the next face name.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToPrevious
public:
virtual bool setToPrevious()

Advances the cursor position to the previous face name.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IFont::FaceNameCursor - Enumerations


[view class]
FontType
enum FontType { bitmap, 
                vector, 
                both }

Use this enumeration to specify which types of fonts (bitmap, vector, or both) you want to iterate through.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IFont::FaceNameCursor - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data