Public Types | Public Member Functions | List of all members
DgnFontList Struct Reference

A list of fonts. Generally this list is created for you by a search method. DgnFontLists are reference counted, so the last reference to the list frees it. More...

#include <DgnFontManager.h>

Inheritance diagram for DgnFontList:
RefCountedBase RefCounted< IRefCounted > IRefCounted

Public Types

enum  SortOrder { SORT_ByType = 0, SORT_ByName = 1 }
 

Public Member Functions

size_t GetCount ()
 Get the number of fonts in this list. More...
 
DgnFontP GetEntryP (size_t n)
 Get the nth entry in the list. More...
 
void Sort (SortOrder)
 Sort the List. More...
 
- Public Member Functions inherited from RefCounted< IRefCounted >
void * operator new (size_t size)
 
void operator delete (void *rawMemory, size_t size)
 
UInt32 AddRef () const
 
UInt32 Release () const
 
 RefCounted ()
 
 RefCounted (RefCounted const &rhs)
 
RefCountedoperator= (RefCounted const &rhs)
 
UInt32 GetRefCount () const
 

Additional Inherited Members

- Protected Member Functions inherited from RefCounted< IRefCounted >
virtual ~RefCounted ()
 
- Protected Member Functions inherited from IRefCounted
virtual ~IRefCounted ()
 
void * operator new (size_t size)
 
void operator delete (void *rawMemory, size_t size)
 

Detailed Description

A list of fonts. Generally this list is created for you by a search method. DgnFontLists are reference counted, so the last reference to the list frees it.

Member Enumeration Documentation

enum SortOrder
Enumerator
SORT_ByType 

sort by type, then name

SORT_ByName 

sort name, then type

Member Function Documentation

size_t GetCount ( )

Get the number of fonts in this list.

DgnFontP GetEntryP ( size_t  n)

Get the nth entry in the list.

void Sort ( SortOrder  )

Sort the List.


The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.