Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PageSetup.Zoom Property 

Returns or sets a percentage (between 10 and 400 percent) by which Microsoft Excel will scale the worksheet for printing. Applies only to worksheets.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim pageSetup1 As PageSetup

Dim returnValue As Object
returnValue = pageSetup1.Zoom

Dim sampleValue As Object
pageSetup1.Zoom = sampleValue

object Zoom {get; set;}
public System.Object get_Zoom();
public void set_Zoom(System.Object);
function get Zoom() : Object;
function set Zoom(Object);

If this property is False, the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled.

All scaling retains the aspect ratio of the original document.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

Show: