[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IVPageBreak.Location

Location Property

Location

Returns the range that defines the page-break location.

Horizontal page breaks are aligned with the top edge of the location range; vertical page breaks are aligned with the left edge of the location range.

Declaration
IRange Location { get; }
ReadOnly Property Location As IRange
Examples
worksheet.Range["A1:F5"].Value = new object[,] {
    {"Name", "Q1", "Q2", "Q3", "Q4", "Total"},
    {"Test", 100, 200, 150, 180, 630}
});
IVPageBreak pageBreak = worksheet.VPageBreaks.Add(worksheet.Range["F3"]);
IRange location = pageBreak.Location;