API Reference > OdDb Classes > OdDbTextStyleTableRecord Class > OdDbTextStyleTableRecord Methods > OdDbTextStyleTableRecord::font Method
OdDbTextStyleTableRecord::font Method
Syntax
C++
void font(OdString& typeface, bool& bold, bool& italic, int& charset, int& pitchAndFamily) const;
Parameters 
Description 
OdString& typeface 
[out] Typeface name of the /Windows-font/.  
bool& bold 
[out] True if and only if Bold font.  
bool& italic 
[out] True if and only if Italic font.  
int& charset 
[out] Windows character set identitier.  
int& pitchAndFamily 
[out] Windows pitch and character family identifier. 

Gets the characteristics of the Windows-font associated with the text style. 

 

Fonts of Text Styles 

OdDbTextStyleTableRecord::setFont() method

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