API Reference > OdDg Classes > OdDgFontTable Class > OdDgFontTable Methods > getFont Method > OdDgFontTable::getFont Method (OdString&)
OdDgFontTable::getFont Method (OdString&)
Syntax
C++
OdDgFontTableRecordPtr getFont(const OdString& fontName) const;
Parameters 
Description 
fontNumber 
[in] The name of the font. 

Returns the OdDgFontTableRecordPtr of the specific record if successful, otherwise a null pointer.

Searches the Font object for the specified Font number. 

 

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