📄 txt_fon1.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style><!--
body,table {font-family:"宋体"; font-size: 9pt; line-height:11pt;}
a {text-decoration:none} a:hover {color:red;text-decoration:underline}
--></style>
<title>文本和字体类1</title>
</head>
<body link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor="#FFC8C8">
<table border="0" width="100%" cellspacing="4" cellpadding="6">
<tr>
<td width="100%" bgcolor="#336699"><font color="#FFFFFF">文本和字体函数,共三页。第一页,</font><a
href="txt_fon2.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/txt_fon2.htm"><font color="#FFFF00">第二页</font></a><font color="#FFFFFF">,</font><a
href="txt_fon3.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/txt_fon3.htm"><font color="#FFFF00">第三页</font></a></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="3" cellpadding="2">
<tr>
<td width="25%" bgcolor="#efefda"><a href="AddFontResource.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/AddFontResource.htm">AddFontResource</a></td>
<td width="75%" bgcolor="#efefda">在Windows系统中添加一种字体资源</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="CreateFont.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/CreateFont.htm">CreateFont</a></td>
<td width="75%" bgcolor="#efefda">用指定的属性创建一种逻辑字体</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="CreateFontIndirect.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/CreateFontIndirect.htm">CreateFontIndirect</a></td>
<td width="75%" bgcolor="#efefda">用指定的属性创建一种逻辑字体</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="CreateScalableFontResource.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/CreateScalableFontResource.htm">CreateScalableFontResource</a></td>
<td width="75%" bgcolor="#efefda">为一种TureType字体创建一个资源文件,以便能用API函数<a
href="AddFontResource.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/AddFontResource.htm">AddFontResource</a>将其加入Windows系统</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="DrawText.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/DrawText.htm">DrawText</a></td>
<td width="75%" bgcolor="#efefda">将文本描绘到指定的矩形中</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="DrawTextEx.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/DrawTextEx.htm">DrawTextEx</a></td>
<td width="75%" bgcolor="#efefda">与<a href="DrawText.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/DrawText.htm">DrawText</a>相似,只是加入了更多的功能</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="EnumFontFamilies.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/EnumFontFamilies.htm">EnumFontFamilies</a></td>
<td width="75%" bgcolor="#efefda">列举指定设备可用的字体</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="EnumFontFamiliesEx.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/EnumFontFamiliesEx.htm">EnumFontFamiliesEx</a></td>
<td width="75%" bgcolor="#efefda">列举指定设备可用的字体</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="EnumFonts.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/EnumFonts.htm">EnumFonts</a></td>
<td width="75%" bgcolor="#efefda">列举指定设备可用的字体</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="ExtTextOut.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/ExtTextOut.htm">ExtTextOut</a></td>
<td width="75%" bgcolor="#efefda">经过扩展的文本描绘函数。也请参考<a
href="SetTextAlign.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/SetTextAlign.htm">SetTextAlign</a>函数</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="GetAspectRatioFilterEx.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetAspectRatioFilterEx.htm">GetAspectRatioFilterEx</a></td>
<td width="75%" bgcolor="#efefda">用<a href="SetMapperFlags.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/SetMapperFlags.htm">SetMapperFlags</a>要求Windows只选择与设备当前纵横比相符的光栅字体时,本函数可判断纵横比大小</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="GetCharABCWidths.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetCharABCWidths.htm">GetCharABCWidths</a></td>
<td width="75%" bgcolor="#efefda">判断TureType字体中一个或多个字符的A-B-C大小</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="GetCharABCWidthsFloat.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetCharABCWidthsFloat.htm">GetCharABCWidthsFloat</a></td>
<td width="75%" bgcolor="#efefda">查询一种字体中一个或多个字符的A-B-C尺寸</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="GetCharacterPlacement.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetCharacterPlacement.htm">GetCharacterPlacement</a></td>
<td width="75%" bgcolor="#efefda">该函数用于了解如何用一个给定的字符显示一个字串</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="GetCharWidth.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetCharWidth.htm">GetCharWidth</a></td>
<td width="75%" bgcolor="#efefda">调查字体中一个或多个字符的宽度</td>
</tr>
<tr>
<td width="25%" bgcolor="#efefda"><a href="GetFontData.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetFontData.htm">GetFontData</a></td>
<td width="75%" bgcolor="#efefda">接收一种可缩放字体文件的数据</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -