Developer

API Reference

IFontMapModel_GetByName()

Brew Release
Brew MP 1.0.2
See Also
- IFontMapModel_Insert()
Description
Returns the IFont object from the IFontMapModel that is used to render the text that falls within the style tags specified in pszName.
An application can call this routine to get the actual IFont that was set to render the specified style in a previous call to IFontMapModel_Insert().
Parameters
  • pif
    []:
    [in] Pointer to the IFontMapModel interface object.
  • pszName
    []:
    [in] An AECHAR string containing the name of the style. These are the actual characters of the style tag in the text.
  • ppiFont
    []:
    [out] When successful, a pointer to the IFont interface object that will be used to render the text that falls within the pszName tag range.
Interface
Prototype
   uint32 IFontMapModel_GetByName(
      IFontMapModel *pif, 
      const AECHAR* pszName, 
      IFont** ppiFont);
   
Return
   AEE_SUCCESS if the style could be found
   error code otherwise
Side Effect
None
Comment
None
  • Follow