Sections.Add(Object, Object) 方法

定义

返回一个 Section 对象,该对象表示添加到文档的新节。

public Microsoft.Office.Interop.Word.Section Add (ref object Range, ref object Start);
abstract member Add : obj * obj -> Microsoft.Office.Interop.Word.Section
Public Function Add (Optional ByRef Range As Object, Optional ByRef Start As Object) As Section

参数

Range
Object

可选 对象。 要在其之前插入分节符的区域。 如果省略该参数,则将分节符插至文档末尾。

Start
Object

可选 对象。 要添加的分节符的类型。 可以是以下 WdSectionStart常量之一: wdSectionContinuouswdSectionEvenPagewdSectionNewColumnwdSectionNewPagewdSectionOddPage。 如果省略此参数,则添加的下一页分节符。

返回

适用于