插入/删除行
<h1>功能</h1>
<p>在特定位置添加或删除指定数量的行。</p>
<h1><strong>输入</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>工作表名称</td>
<td>【字符串】工作簿中的工作表名称。</td>
<td>‘sheet3’</td>
</tr>
<tr>
<td>更改模式</td>
<td>【枚举】选择添加还是删除行。"添加"选项会将行添加到文档中,"移除"选项则会删除这些行。</td>
<td>添加</td>
</tr>
</tbody>
</table>
<h1><strong>目标</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>位置</td>
<td>【整数】开始向其执行插入或删除操作的行位置,位置索引从0开始。</td>
<td>0</td>
</tr>
<tr>
<td>列数</td>
<td>【整数】要添加或删除的行数。</td>
<td>3</td>
</tr>
</tbody>
</table>
<h1><strong>注意/说明</strong></h1>
<p>在选定位置行的后面,进行增删操作。</p>
<h1>相关函数</h1>
<p>无</p>
<h1><strong>示例/演示</strong></h1>
<p>插入行前的效果:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/1af4737507a4cc37bb94aba7b266570e" alt="" />
插入行后的效果:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/71fd8c3df0046962b0a26955af114f63" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/193a5195fbb83a567de39f6578d49045" title="[组件[插入或删除行函数示例]_20210208.db">组件[插入或删除行函数示例]_20210208.db</a></p>