Share via


Zoom.Percentage Property 

Returns or sets the magnification for a window as a percentage.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim zoom1 As Zoom

Dim returnValue As Integer
returnValue = zoom1.Percentage

Dim sampleValue As Integer
zoom1.Percentage = sampleValue

Syntax

Property Percentage() As Integer
int Percentage {get; set;}
property Int32 Percentage{
    Int32 get();
    Void set(Int32);
}
public int get_Percentage();
public void set_Percentage(int);
function get Percentage() : int;
function set Percentage(int);

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Zoom Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Zoom Members