[]
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).
PageBreakExtent Extent { get; }
ReadOnly Property Extent As PageBreakExtent
IHPageBreak hPageBreak = worksheet.HPageBreaks.Add(worksheet.Range["A4"]);
PageBreakExtent extent = hPageBreak.Extent;