返回或设置指定对象的分节符类型。WdSectionStart,可读写。
WdSectionStart 可以是下列 WdSectionStart 常量之一: |
wdSectionContinuous |
wdSectionEvenPage |
wdSectionNewColumn |
wdSectionNewPage |
wdSectionOddPage |
expression.SectionStart
expression 必需。该表达式返回一个 PageSetup 对象。
本示例将活动文档中的所有节中的分节符都改为连续的。
ActiveDocument.PageSetup.SectionStart = wdSectionContinuous
本示例返回 MyDoc.doc 中第二节开始部分使用的分节符类型,并将其应用于活动文档中的所有节。
mytype = Documents("MyDoc.doc").Sections(2).PageSetup.SectionStart
ActiveDocument.PageSetup.SectionStart = mytype