PageSetup.FitToPagesWide Property
Returns or sets the number of pages wide the worksheet will be scaled to when it's printed. Applies only to worksheets.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property FitToPagesWide As Object
Get
Set
'Usage
Dim instance As PageSetup
Dim value As Object
value = instance.FitToPagesWide
instance.FitToPagesWide = value
Object FitToPagesWide { get; set; }
Property Value
Type: System.Object
Remarks
If this property is False, Microsoft Excel scales the worksheet according to the FitToPagesTall property.
If the Zoom property is True, the FitToPagesWide property is ignored.