VPageBreaks Interface
A collection of vertical page breaks within the print area. Each vertical page break is represented by a VPageBreak object.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)
Usage
Public Class pageBreaksImplementation
Implements VPageBreaks
End Class
Dim pageBreaksImplementation1 As New pageBreaksImplementation()
Syntax
Public Interface VPageBreaks
public interface VPageBreaks
public interface class VPageBreaks
public interface VPageBreaks
public interface VPageBreaks
Remarks
Use the VPageBreaks property to return the VPageBreaks collection. Use the Add method to add a vertical page break.
If you add a page break that does not intersect the print area, then the newly-added VPageBreak object will not appear in the VPageBreaks collection for the print area. The contents of the collection may change if the print area is resized or redefined.
When the Application property, Count property, Creator property, Item property, Parent property or Add method is used in conjunction with the VPageBreaks property:
For an automatic print area, the VPageBreaks property applies only to the page breaks within the print area.
For a user-defined print area of the same range, the VPageBreaks property applies to all of the page breaks.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Excel Namespace