?? getcharabcwidthsfloat.htm
字號(hào):
<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>GetCharABCWidthsFloat</title>
</head>
<body link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor="#FFC8C8">
<div align="center"><center>
<table border="0" width="100%" height="22" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="16">GetCharABCWidthsFloat</td>
</tr>
</table>
</center></div><div align="center"><center>
<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
<tr>
<td width="100%" colspan="2">VB聲明</td>
</tr>
<tr>
<td width="100%" colspan="2">Declare Function GetCharABCWidthsFloat Lib "gdi32"
Alias "GetCharABCWidthsFloatA" (ByVal hdc As Long, ByVal iFirstChar As Long,
ByVal iLastChar As Long, lpABCF As ABCFLOAT) As Long</td>
</tr>
<tr>
<td width="100%" colspan="2">說明</td>
</tr>
<tr>
<td width="100%" colspan="2">查詢一種字體中一個(gè)或多個(gè)字符的A-B-C尺寸</td>
</tr>
<tr>
<td width="100%" colspan="2">返回值</td>
</tr>
<tr>
<td width="100%" colspan="2">Long,非零表示成功,零表示失敗。會(huì)設(shè)置<a
href="GetLastError.htm">GetLastError</a></td>
</tr>
<tr>
<td width="100%" colspan="2">參數(shù)表</td>
</tr>
<tr>
<td width="25%">參數(shù)</td>
<td width="75%">類型及說明</td>
</tr>
<tr>
<td width="25%">hdc</td>
<td width="75%">Long,設(shè)備場(chǎng)景的句柄</td>
</tr>
<tr>
<td width="25%">iFirstChar</td>
<td width="75%">Long,欲調(diào)查A-B-C尺寸的第一個(gè)字符的ASCII值</td>
</tr>
<tr>
<td width="25%">iLastChar</td>
<td width="75%">Long,欲調(diào)查A-B-C尺寸的最后一個(gè)字符的ASCII值</td>
</tr>
<tr>
<td width="25%">lpABCF</td>
<td width="75%">ABCFLOAT,在ABCFLOAT結(jié)構(gòu)數(shù)組中的第一個(gè)條目。這個(gè)數(shù)組填充了指定的字符大小設(shè)置。該數(shù)組的長(zhǎng)度必須足夠大,足以容下要求的所有字符</td>
</tr>
<tr>
<td width="100%" colspan="2">注解</td>
</tr>
<tr>
<td width="100%" colspan="2"><p align="left">和<a href="GetCharABCWidths.htm">GetCharABCWidths</a>不同,這個(gè)函數(shù)適用于任何字符。ABC值是以浮點(diǎn)數(shù)的形式返回的,而且可能不是整數(shù)——具體取決于用這個(gè)函數(shù)處理非TureType字體時(shí)采用的轉(zhuǎn)換方式</td>
</tr>
<tr>
<td width="100%" colspan="2">適用平臺(tái)</td>
</tr>
<tr>
<td width="100%" colspan="2">Windows NT</td>
</tr>
</table>
</center></div><div align="center"><center>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><p align="right">Top</td>
</tr>
</table>
</center></div>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -