SpreadsheetGear 2012
FitToPagesWide Property (IPageSetup)






Gets or sets the number of horizontal pages to fit printed output to.
Syntax
'Declaration
 
Property FitToPagesWide As System.Integer
'Usage
 
Dim instance As IPageSetup
Dim value As System.Integer
 
instance.FitToPagesWide = value
 
value = instance.FitToPagesWide
System.int FitToPagesWide {get; set;}
read-write property FitToPagesWide: System.Integer; 
function get,set FitToPagesWide : System.int
__property System.int get_FitToPagesWide();
__property void set_FitToPagesWide( 
   System.int value
);
property System.int FitToPagesWide {
   System.int get();
   void set (    System.int value);
}
Remarks

Set FitToPagesWide to zero to fit vertically but not horizontally.

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

Setting FitToPagesTall and FitToPagesWide to zero sets FitToPages to false.

FitToPagesTall has no effect when FitToPages is false.

Requirements

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

Reference

IPageSetup Interface
IPageSetup Members
FitToPages Property
FitToPagesTall Property
Zoom Property

Send Feedback