The IFont::FaceNameCursor nested class iterates over the public and private fonts available for a presentation space.
Constructors & DestructorYou can construct and destruct objects of this class.
![]() |
public:
virtual ~FaceNameCursor()
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
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.
| Windows | OS/2 | AIX |
| Yes | Yes | No |
OverridesUse these members to iterate through the available font face names.
![]() |
public:
virtual void invalidate()
Marks the cursor as not valid.
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
public:
virtual bool isValid() const
Returns true if the cursor is valid.
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
public:
virtual bool setToFirst()
Advances the cursor position to the first face name.
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
public:
virtual bool setToLast()
Advances the cursor position to the last face name.
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
public:
virtual bool setToNext()
Advances the cursor position to the next face name.
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
public:
virtual bool setToPrevious()
Advances the cursor position to the previous face name.
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
enum FontType { bitmap,
vector,
both }Use this enumeration to specify which types of fonts (bitmap, vector, or both) you want to iterate through.
| Windows | OS/2 | AIX |
| Yes | Yes | No |