setarcdirection.htm

来自「常用windows API函数」· HTM 代码 · 共 79 行

HTM
79
字号
<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>SetArcDirection</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">SetArcDirection</td>
  </tr>
</table>
</center></div><div align="center"><center>

<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
  <tr>
    <td width="102%" colspan="2">VB声明</td>
  </tr>
  <tr>
    <td width="102%" colspan="2">Declare Function SetArcDirection Lib &quot;gdi32&quot; Alias 
    &quot;SetArcDirection&quot; (ByVal hdc As Long, ByVal ArcDirection As Long) As Long</td>
  </tr>
  <tr>
    <td width="102%" colspan="2">说明</td>
  </tr>
  <tr>
    <td width="102%" colspan="2">设置圆弧的描绘方向</td>
  </tr>
  <tr>
    <td width="102%" colspan="2">返回值</td>
  </tr>
  <tr>
    <td width="102%" colspan="2">Long,如执行成功,返回原始的圆弧方向;零意味着出错</td>
  </tr>
  <tr>
    <td width="102%" colspan="2">参数表</td>
  </tr>
  <tr>
    <td width="25%">参数</td>
    <td width="77%">类型及说明</td>
  </tr>
  <tr>
    <td width="25%">hdc</td>
    <td width="77%">Long,要设置的设备场景</td>
  </tr>
  <tr>
    <td width="25%">ArcDirection</td>
    <td width="77%">Long,AD_CLOCKWISE (顺时针)或 AD_COUNTERCLOCKWISE (逆时针)</td>
  </tr>
  <tr>
    <td width="102%" colspan="2">注解</td>
  </tr>
  <tr>
    <td width="102%" colspan="2"><p align="left">可应用于下列函数:<a href="Arc.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/Arc.htm">Arc</a>, 
    <a href="Arc.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/Arc.htm">ArcTo</a>, <a href="Chord.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/Chord.htm">Chord</a>, <a href="Ellipse.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/Ellipse.htm">Ellipse</a>, 
    <a href="Pie.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/Pie.htm">Pie</a>, <a href="Rectangle.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/Rectangle.htm">Rectangle</a> 和 <a
    href="RoundRect.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/RoundRect.htm">RoundRect</a></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>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?