语言

VPageBreaks 接口

定义

打印区域中垂直分页符的集合。 每个垂直分页符都由一个 VPageBreak 对象表示。

public interface class VPageBreaks : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024405-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface VPageBreaks : System.Collections.IEnumerable
Public Interface VPageBreaks
Implements IEnumerable
属性
实现

注解

使用该 VPageBreaks 属性返回 VPageBreaks 集合。 使用此方法添加 Add(Object) 垂直分页符。

如果添加的分页符不和打印区域交叠,则新添加的 VPageBreak 对象将不会出现在打印区域的 VPageBreaks 集合中。 如果重新调整打印区域或重新定义打印区域,将会改变集合的内容。

Application当属性、属性、 CountCreator属性、Item[Int32]属性、Parent属性或Add(Object)方法与 VPageBreaks 属性结合使用时:

对于自动打印区域,VPageBreaks 属性只应用于打印区域内的分页符。

对于同一区域中的用户定义的打印区域,VPageBreaks 属性应用于所有的分页符。

属性

名称 说明
_Default[Int32]

仅供内部使用。

Application

返回表示 Application Microsoft Excel 应用程序的对象。

Count

返回集合中对象的数目。

Creator

返回一个 32 位整数,该整数指示在其中创建了此对象的应用程序。

Item[Int32]

从集合中返回一个对象。

Parent

返回指定对象的父对象。

方法

名称 说明
Add(Object)

添加垂直分页符。 返回对象 VPageBreak 。

GetEnumerator()

打印区域中垂直分页符的集合。 每个垂直分页符都由一个 VPageBreak 对象表示。

适用于