![]() | InDesign SDK 20.5 |
#include <IInterfaceFonts.h>

Public Types | |
| enum | { kDefaultIID = IID_IINTERFACEFONTS } |
Public Member Functions | |
| virtual const InterfaceFontInfo & | GetFont (const int32 &interfaceElementId) const =0 |
| virtual const InterfaceFontInfo & | GetFont (const PMLocaleId &locale, const int32 &interfaceElementId) const =0 |
| virtual void | SetFont (const PMLocaleId &locale, const int32 &interfaceElementId, const PMString &fontName, const int16 &fontSize, const int16 &fontAttributes)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface for specifying which set of UI fonts to use for the application
| pure virtual |
Get the font used for a given interface font ID.
| interfaceElementId | specifies which interface font we're interested in. |
| pure virtual |
Get the font used for a given interface font ID.
| locale | specifies which locale we're interested in. Different locales may use different fonts |
| interfaceElementId | specifies which interface font we're interested in. |
| pure virtual |
Set the font used for a given interface font ID.
| locale | specifies which locale we're interested in. Different locales may use different fonts |
| interfaceElementId | specifies which interface font we're interested in. |
| fontName | specifies the name of the font to use for the specified interface font id in the specified locale. |
| fontSize | specifies the font size to use for the specified interface font id in the specified locale |
| fontAttributes | specifies the font attributes to use for the specified interface font id in the specified locale, i.e. kInterfaceFontBold |