Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcHostAppServices::getPreferableFont Method
Syntax
C++
virtual OdString getPreferableFont(const OdString& fontName, OdFontType fontType);

Retrieves the current preferable font name for a specified font name and type.

Parameters
Description
fontName
[in] A font name.
fontType
[in] A font type.

a string object containing the preferable font name.

The default implementation of this method returns an empty string. 

The fontType parameter value must be one of the following: 

 

Name
Value
Description
kFontTypeUnknown
0
Unknown.
kFontTypeShx
1
SHX font.
kFontTypeTrueType
2
TrueType font.
kFontTypeShape
3
Shape file.
kFontTypeBig
4
BigFont file.
Copyright © 2002-2022. Open Design Alliance All rights reserved.