[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IVPageBreak.Extent

Extent Property

Extent

Returns the extent of the specified page break: the entire worksheet or only the print area.

The returned value indicates whether the vertical page break applies to the entire worksheet or only within the print area.

Declaration
PageBreakExtent Extent { get; }
ReadOnly Property Extent As PageBreakExtent
Examples
IVPageBreak pageBreak = worksheet.VPageBreaks.Add(worksheet.Range["F3"]);
PageBreakExtent extent = pageBreak.Extent;
string scope = extent == PageBreakExtent.PageBreakPartial ? "Print area" : "Full sheet";