SpreadsheetGear 2012
Zoom Property (IPageSetup)






Gets or sets the scaling factor for printing.
Syntax
'Declaration
 
Property Zoom As System.Integer
'Usage
 
Dim instance As IPageSetup
Dim value As System.Integer
 
instance.Zoom = value
 
value = instance.Zoom
System.int Zoom {get; set;}
read-write property Zoom: System.Integer; 
function get,set Zoom : System.int
__property System.int get_Zoom();
__property void set_Zoom( 
   System.int value
);
property System.int Zoom {
   System.int get();
   void set (    System.int value);
}
Remarks

A value of 100 specifies 100 percent of normal size. Zoom must be between 10 and 400.

Setting Zoom sets IPageSetup.FitToPages to false.

Zoom has no effect when FitToPages is true.

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
FitToPagesTall Property
FitToPagesWide Property
FitToPages Property
Zoom Property

Send Feedback