点击或拖拽改变大小

HtmlRenderAddFontFamilyMapping 方法

Adds a font mapping from fromFamily to toFamily iff the fromFamily is not found.
When the fromFamily font is used in rendered html and is not found in existing fonts (installed or added) it will be replaced by toFamily.

命名空间:  DSkin.Html
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public static void AddFontFamilyMapping(
	string fromFamily,
	string toFamily
)

参数

fromFamily
类型:SystemString
the font family to replace
toFamily
类型:SystemString
the font family to replace with
备注
This fonts mapping can be used as a fallback in case the requested font is not installed in the client system.
参见