API Reference > OdDg Classes > OdDgFontTableRecord Class > OdDgFontTableRecord Methods > OdDgFontTableRecord::setType Method
OdDgFontTableRecord::setType Method
Syntax
C++
virtual void setType(OdFontType type);
Parameters 
Description 
OdFontType type 
[in] the type of font used. Use: kFontTypeTrueType for TrueType fonts, kFontTypeShape for Shapefile fonts. 

Sets a font type. 

 

Must be called before adding the record to the Font table. It's unnecessary to add RSC (MicroStation Recource file) font.

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