SpreadsheetGear 2023
FitToPagesWide Property (IPageSetup)

SpreadsheetGear Namespace > IPageSetup Interface : FitToPagesWide Property
Gets or sets the number of horizontal pages to fit printed output to.
Property FitToPagesWide As System.Integer
Dim instance As IPageSetup
Dim value As System.Integer
instance.FitToPagesWide = value
value = instance.FitToPagesWide
System.int FitToPagesWide {get; set;}

Set FitToPagesWide to zero to fit vertically but not horizontally.

Setting FitToPagesTall to a non-zero value sets IPageSetup.FitToPages to true.

Setting FitToPagesTall and FitToPagesWide to zero sets FitToPages to false.

FitToPagesTall has no effect when FitToPages is false.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IPageSetup Interface
IPageSetup Members
FitToPages Property
FitToPagesTall Property
Zoom Property