Click or drag to resize
ExcelPrintOptionsPageHeight Property
Gets the height of the page (in inches).

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 39.3.30.1189
Syntax
public double PageHeight { get; }

Property Value

Type: Double
The height of the page.
Remarks

If the PaperType is PaperType.Custom, this will return page height from printer settings.

Accessing printer settings (if PaperType is Custom) doesn't work in Medium Trust.

See Also