[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IHPageBreak.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 horizontal page break spans the full sheet width (PageBreakFull) or applies only within the print area (PageBreakPartial).

Declaration
PageBreakExtent Extent { get; }
ReadOnly Property Extent As PageBreakExtent
Examples
IHPageBreak hPageBreak = worksheet.HPageBreaks.Add(worksheet.Range["A4"]);
PageBreakExtent extent = hPageBreak.Extent;