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:
public double PageHeight { get; }

Property Value

Type: Double
The height of the page.

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