AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::FontManager类 参考

The font manager. 更多...

Public 成员函数

FontFindFont (String^ name)
 
void AddFont (Font^ font)
 
void SetDefaultFont (String^ name)
 
String^ GetDefaultFont ()
 
FontLoadFont (String^ fontName, String^ filePath)
 
StringList^ ListFontNames ()
 

详细描述

The font manager.

TODO:

成员函数说明

void AnyCAD::Platform::FontManager::AddFont ( Font font)

Add font for reusing.

参数
fontthe Font object.
Font ^ AnyCAD::Platform::FontManager::FindFont ( String^  name)

Find Font by name

返回
the Font
String ^ AnyCAD::Platform::FontManager::GetDefaultFont ( )

Get default Font name.

返回
the font name.
StringList ^ AnyCAD::Platform::FontManager::ListFontNames ( )

List all the font names.

返回
the name list.
Font ^ AnyCAD::Platform::FontManager::LoadFont ( String^  fontName,
String^  filePath 
)

Load font from file.

参数
fontNamethe unique name of the font.
filePaththe full font file name
返回
the Font.
void AnyCAD::Platform::FontManager::SetDefaultFont ( String^  name)

Set the default Font by name.

参数
namethe font name.

该类的文档由以下文件生成: