Upravit

Sdílet prostřednictvím


Zoom Interface

Definition

Contains magnification options (for example, the zoom percentage) for a window or pane.

public interface class Zoom
[System.Runtime.InteropServices.Guid("000209A6-0000-0000-C000-000000000046")]
public interface Zoom
type Zoom = interface
Public Interface Zoom
Attributes

Remarks

The Zoom object is a member of the Zooms collection.

Use the Zoom property of the View object to return a single Zoom object.

Use Zooms(index), where index identifies the view type, to return a single Zoom object. The view type specified by index can be one of the following WdViewType constants: wdMasterView, wdNormalView, wdOutlineView, wdPrintPreview, wdPrintView, or wdWebView.

The Add method isn't available for the Zooms collection. The Zooms collection includes a single Zoom object for each of the various view types (outline, normal, page layout, and so on).

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

PageColumns

Returns or sets the number of pages to be displayed side by side on-screen at the same time in print layout view or print preview.

PageFit

Returns or sets the view magnification of a window so that either the entire page is visible or the entire width of the page is visible.

PageRows

Returns or sets the number of pages to be displayed one above the other on-screen at the same time in print layout view or print preview.

Parent

Returns an object that represents the parent object of the specified object.

Percentage

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

Applies to