API Reference > OdDg Classes > OdDgFontTable Class > OdDgFontTable Methods > getFont Method > OdDgFontTable::getFont Method (OdDgDatabase*, OdUInt32)
OdDgFontTable::getFont Method (OdDgDatabase*, OdUInt32)
Syntax
C++
static OdDgFontTableRecordPtr getFont(const OdDgDatabase* pDb, OdUInt32 uFontId);
Parameters 
Description 
fontNumber 
[in] The name of the font. 

Returns the OdDgFontTableRecordPtr of the specific record if successful, otherwise it try to get alternate font, then it try to get fast font.

Searches the Font object for the specified Font number. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.