of_repeat_rows.htm
来自「pbto execel 使用控件将powerbuilder 中数据窗口内容导出e」· HTM 代码 · 共 71 行
HTM
71 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Pb2xls developer's reference</title>
<link rel="STYLESHEET" href="style.css" type="text/css">
</head>
<body bgcolor="#FFFFFF">
<!-- Reference header -->
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td class=footer_text width=20%>Release 1.6<br>15 September 2004</td>
<td class=doc_header align="center">Developer's reference</td>
<td width=20% align="right">
<a class=hidden_link href="http://desta.com.ua/pb2xls/"><img src=pb2xls_logo.gif alt="PB2XLS for PowerBuilder" border=0></a></td>
</tr>
</table>
<hr>
<table cellspacing=0 cellpadding=0 class=path_table> <tr><td><a class=hidden_link href=reference.htm>Reference</a> > <a class=hidden_link href=n_xls_worksheet.htm>N_XLS_WORKSHEET</a> > <a class=hidden_link href=of_repeat_rows.htm>of_repeat_rows</a></td></tr> </table>
<table width=100%><tr><td class=light_line></td></tr></table><p class=head1>
of_repeat_rows() method
</p>
<p class=txt>
Set the number of rows to repeat at the top of each printed page.
</p>
<p class=head2>Syntax</p>
<div class=padding_txt>
<table cellpadding=7><tr class=grey_box><td class=txt>
<i>worksheet.</i><b>of_repeat_rows </b><i>( first_row, last_row )</i>
</td></tr></table></div>
<p class=head2>Parameters</p>
<div class=padding_txt>
<table cellpadding=3>
<tr class=grey_box><td class=txt><i>First_row</i></td><td class=txt>The unsigned integer whose value is the number of first row</td></tr>
<tr class=grey_box><td class=txt><i>Last_row</i></td><td class=txt>The unsigned integer whose value is the number of last row</td></tr>
</table></div>
<p class=head2>
Return value
</p>
<div class=padding_txt> <p class=txt>
Integer. Returns 1 if it succeeds and -1 if an error occurs.</p></div>
<p class=head2>
Description
</p>
<div class=padding_txt><p class=txt>
For large Excel documents it is often desirable to have the first row or rows of the worksheet print out at the top of each page. This can be achieved by using the <a class=hidden_link href=of_repeat_rows.htm>of_repeat_rows()</a> method. The parameters first_row and last_row are zero based.</p></div>
<p class=head2>
Examples
</p>
<pre>
worksheet1.<a class=hidden_link href=of_repeat_rows.htm>of_repeat_rows</a>(0, 0) //Repeat the first row
worksheet2.<a class=hidden_link href=of_repeat_rows.htm>of_repeat_rows</a>(0, 2) //Repeat the first three rows</pre>
<table border=0 width="100%" cellpadding=0 cellspacing=0>
<tr><td colspan=2 class=empty_line></td></tr>
<tr><td colspan=2 class=line></td></tr>
<tr>
<td class=footer_text align="left">© 2003, 2004 <a class=hidden_link href="http://desta.com.ua">Desta, Ltd.</a> All rights reserved.</td>
<td class=footer_text align="right">
<a class=hidden_link href="mailto:pb2xls_support@Desta.com.ua">SupportDesk</a></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?