Click or drag to resize
ExcelPrintOptionsPageWidth Property
Gets the width of the page (in inches).

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

Property Value

Type: Double
The width of the page.

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

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

See Also