[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IVPageBreaks

IVPageBreaks Interface

Represents the collection of vertical page breaks within the print area.

Use this collection to add, access, and iterate vertical page breaks on a worksheet. A vertical page break added through this collection is positioned to the left of the specified range.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IVPageBreaks : IEnumerable
Public Interface IVPageBreaks
    Inherits IEnumerable
Examples
worksheet.Range["A1:F10"].Value = "Data";
IVPageBreaks pageBreaks = worksheet.VPageBreaks;
pageBreaks.Add(worksheet.Range["D1"]);
IVPageBreak pageBreak = pageBreaks[0];

Properties

Name Description
Count

Returns the number of objects in the collection.

This property returns the number of vertical page breaks contained in this collection within the print area.

this[int]

Gets the IVPageBreak at the specified index in the collection.

Use this property to access a vertical page break that has been added to the worksheet print area through Add(IRange) or other worksheet page break operations.

Methods

Name Description
Add(IRange)

Adds a vertical page break within the print area.

The page break is aligned with the left edge of the specified range.