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: 41.3.30.1000
Syntax
public double PageWidth { get; }

Property Value

Type: Double
The width of the page.
Remarks

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